Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add true 10- and 16-bit joystick modes #2276

Merged
merged 1 commit into from
Jul 18, 2024
Merged

Add true 10- and 16-bit joystick modes #2276

merged 1 commit into from
Jul 18, 2024

Conversation

earlephilhower
Copy link
Owner

Fixes #2275

Adds Joystick.use10bit and Joystick.use16bit methods. 10-bit is unsigned from 0...1023 while 16-bit is signed -32767..32767. Defines a new HID descriptor to support the increased resolution.

Fixes #2275

Adds `Joystick.use10bit` and `Joystick.use16bit` methods.  10-bit is
unsigned from 0...1023 while 16-bit is signed -32767..32767.
Defines a new HID descriptor to support the increased resolution.
@earlephilhower earlephilhower merged commit bd902a9 into master Jul 18, 2024
13 of 14 checks passed
@earlephilhower earlephilhower deleted the joy16 branch July 18, 2024 23:07
earlephilhower added a commit that referenced this pull request Jul 24, 2024
Underlying HID_Joystick now always using 16-bit format axes, need to update
BT and BLE descriptors sent to the BT master or it will misinterpret the
reports and the reported joystick state will be read as garbage.

Fixes bug introduced in #2276, oops!
earlephilhower added a commit that referenced this pull request Jul 24, 2024
Underlying HID_Joystick now always using 16-bit format axes, need to update
BT and BLE descriptors sent to the BT master or it will misinterpret the
reports and the reported joystick state will be read as garbage.

Fixes bug introduced in #2276, oops!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Increased Joystick sensitivity
1 participant