mirror of
https://github.com/LuiCat/ArduinoTaikoController.git
synced 2024-11-12 01:20:46 +01:00
Fix undefined hat_mapping
This commit is contained in:
parent
a301c7d86b
commit
03dfb12ea8
@ -308,8 +308,8 @@ void loop() {
|
||||
for (int i = 0; i < 4; ++i) { // Buttons for hats
|
||||
state |= (button_state[i] ? 1 << i : 0);
|
||||
}
|
||||
#endif
|
||||
Joystick.HAT = hat_mapping[state];
|
||||
#endif
|
||||
Joystick.sendState();
|
||||
Joystick.Button = SWITCH_BTN_NONE;
|
||||
#ifdef DEBUG_TIME
|
||||
|
Loading…
Reference in New Issue
Block a user