You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Xbox One gamepad plugged with a USB cable.
Using a simple test app in C, I see that everything works fine and is detected by SDL2, including the d-pad.
However, when using the sdl2_window backend for piston and printing all input events, I receive events for every part of the gamepad, except the dpad, it's as if it wasn't present at all.
Does the dpad require specific handling? The test app refers to it as a hat, does this mean something?
Thanks!
The text was updated successfully, but these errors were encountered:
Joystick support is new, implemented by me, and I didn't know hats were a thing (I just have a SNES controller!) So fairly certain this just needs to be implemented. Unfortunately, I don't have that controller to test. If you're interested in digging in:
I have a Xbox One gamepad plugged with a USB cable.
Using a simple test app in C, I see that everything works fine and is detected by SDL2, including the d-pad.
However, when using the sdl2_window backend for piston and printing all input events, I receive events for every part of the gamepad, except the dpad, it's as if it wasn't present at all.
Does the dpad require specific handling? The test app refers to it as a
hat
, does this mean something?Thanks!
The text was updated successfully, but these errors were encountered: