Page MenuHomeFreeBSD

hid: move proper hat switch handling from ps4dshock to hgame
ClosedPublic

Authored by val_packett.cool on Aug 3 2021, 4:42 PM.
Tags
None
Referenced Files
F132301204: D31398.id93184.diff
Wed, Oct 15, 4:41 PM
F132301182: D31398.id.diff
Wed, Oct 15, 4:41 PM
F132301179: D31398.id93788.diff
Wed, Oct 15, 4:41 PM
Unknown Object (File)
Wed, Oct 15, 5:55 AM
Unknown Object (File)
Mon, Oct 13, 12:49 PM
Unknown Object (File)
Mon, Oct 13, 12:24 PM
Unknown Object (File)
Mon, Oct 13, 8:15 AM
Unknown Object (File)
Thu, Oct 2, 2:55 AM

Details

Summary

Generic "DirectInput" HID gamepads need this handling too.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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.

This revision is now accepted and ready to land.Aug 3 2021, 10:15 PM

Tested on a no-name cheap gamepad that literally says "acme" on it, confirmed to match Linux behavior.