Generic "DirectInput" HID gamepads need this handling too.
Details
Details
- Reviewers
wulf - Group Reviewers
Contributor Reviews (src) - Commits
- rG51b221611454: hid: move proper hat switch handling from ps4dshock to hgame
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Which devices it was tested on?
I found out that WebHID wants to do the same thing https://github.com/w3c/gamepad/issues/56 but did not find any docs describing HAT_SWITCH usage in DirectInput mode.
Comment Actions
Tested on a no-name cheap gamepad that literally says "acme" on it, confirmed to match Linux behavior.