Skip to content

Xbox One gamepad: dpad doesn't send events #206

@gyscos

Description

@gyscos

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions