MHeironimus / ArduinoJoystickLibrary

An Arduino library that adds one or more joysticks to the list of HID devices an Arduino Leonardo or Arduino Micro can support.
GNU Lesser General Public License v3.0
2.07k stars 403 forks source link

Allow setup of AxisRange without mapping them to -32K to +32K #182

Open alijani1 opened 3 years ago

alijani1 commented 3 years ago

the HID descriptor is harcoded to range of -32K to 32K and the ranges set in library just map to this range. some systems look at the physical range in the descriptor and think the game pad is not meant for the system. (Like C64 mini/maxi). It would be important to not hardcode the physical range in the descriptor and allow the user to set the range befor begin operation and then map the logical range after that if needed.