Blindly adjust for 10-bit analog as reported by F310 & F710 bitmasks
commitf2870bf5cfeb46a6b36ab4ba8c12442c050acddf
authordizzyofcrn <dizzyofcrn@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Mon, 1 Oct 2018 09:37:57 +0000 (1 09:37 +0000)
committerdizzyofcrn <dizzyofcrn@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Mon, 1 Oct 2018 09:37:57 +0000 (1 09:37 +0000)
tree78fd6ba49332510446e6fe35d446b80fc1893b0f
parent9b58eb0ad9857647c74ebd8b26e3ba05be5ce745
Blindly adjust for 10-bit analog as reported by F310 & F710 bitmasks
 - Values reported seems like they fall short, but actually the gamepad has reached the maximum analog output well before the thumb stick meets it's mechanical limit
 - Also there is a built in deadband around the center when the bitmask is applied (blindly shifted by 6-bits for now)
 - LSB bit on the analog bitmask may mean "centered", then the ADC would only be 9-bits wide. Makes sense for cost effectiveness.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@55486 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/usb/classes/arosx/arosx.class.c