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

Can't figure out how to get buttons beyond 32 #94

Open
LegacyMecha opened this issue Jul 13, 2022 · 0 comments
Open

Can't figure out how to get buttons beyond 32 #94

LegacyMecha opened this issue Jul 13, 2022 · 0 comments

Comments

@LegacyMecha
Copy link

I have the Logitech Extreme 3D Pro joystick and can't seem to figure out how to access the throttle value that shows up in buttons 54-61 (as an 8-bit number). I see it in the HID dump as buttons 54 through 61 as bits, but how can that button data be accessed in code? Running the demo Joystick doesn't show the button data for 54-61.

HID(10004) Begin topusage:10000 type:2 min:0 max:1023 usage=10030, value=512(X) usage=10031, value=512(Y) Begin topusage:10000 type:42 min:0 max:7 usage=10039, value=8(Hat) Begin topusage:10000 type:2 min:0 max:255 usage=10035, value=127(Rz) Begin topusage:10000 type:2 min:0 max:1 usage=90001, value=0 (BUTTON 1) usage=90002, value=0 (BUTTON 2) usage=90003, value=0 (BUTTON 3) usage=90004, value=0 (BUTTON 4) usage=90005, value=0 (BUTTON 5) usage=90006, value=0 (BUTTON 6) usage=90007, value=0 (BUTTON 7) usage=90008, value=0 (BUTTON 8) Begin topusage:10000 type:2 min:0 max:1 usage=90036, value=0 (BUTTON 54) usage=90037, value=0 (BUTTON 55) usage=90038, value=0 (BUTTON 56) usage=90039, value=0 (BUTTON 57) usage=9003A, value=0 (BUTTON 58) usage=9003B, value=0 (BUTTON 59) usage=9003C, value=0 (BUTTON 60) usage=9003D, value=0 (BUTTON 61) Begin topusage:10000 type:2 min:0 max:1 usage=90009, value=0 (BUTTON 9) usage=9000A, value=0 (BUTTON 10) usage=9000B, value=0 (BUTTON 11) usage=9000C, value=0 (BUTTON 12) END:

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

No branches or pull requests

1 participant