Joystick: add support for 8-way hat switch (#24515)
This commit is contained in:
@@ -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 =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user