-
Notifications
You must be signed in to change notification settings - Fork 6
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
PS3 : HAT X- X+ Y- Y+ are buttons, not axes #3
Comments
I added 4 keys (13, 14, 15 and 16) accordingly to the PS3 controller HAT direction buttons. But of course, they won't be executed as the code doesn't know them. And this is the answer for jstest /dev/input/js0 : The last 4 buttons seems to not have names, but they are the 13, 14, 15 and 16 hat pad buttons. |
Hello,
I could make my PS3 controller work on CNCjs with your gamepad pendant. Thank you.
There is just a problem with HAT buttons. Your gamepad.ts configuration file is considering them as Axes. It might be the case on most controller, I don't know. But on the PS3 Controller, X-, X+, Y- and Y+ are 4 differents buttons, not 2 axes.
So I can't use the hat, and Z axe can only be controlled with the Y- Y+ Hat buttons.
Can you fix it, or give me a way to make it work anyway ?
Thank you
The text was updated successfully, but these errors were encountered: