1
0
Fork 0

Joystick: add support for 8-way hat switch (#24515)

This commit is contained in:
Ryan 2024-11-10 09:10:10 +11:00 committed by GitHub
parent 69093f6de9
commit a3cfb1dab7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 124 additions and 2 deletions

View file

@ -193,6 +193,10 @@ void host_joystick_send(joystick_t *joystick) {
},
# endif
# ifdef JOYSTICK_HAS_HAT
.hat = joystick->hat,
# endif
# if JOYSTICK_BUTTON_COUNT > 0
.buttons =
{