InputMapper refactor: JoystickInputMapper

Add a factory method for JoystickInputMapper to be configured on
initilisation

Test: m checkinput && atest libinput_tests inputflinger_tests
Bug: 256009910
Change-Id: I7fbcd9590a91af8b3b61bb6f3824f66eda800410
(cherry picked from commit ae876351487643d78691486792dfe7fd00dd60e9)
3 files changed