Skip to content

Commit 03dfb12

Browse files
authored
Fix undefined hat_mapping
1 parent a301c7d commit 03dfb12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taiko_controller/taiko_controller.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ void loop() {
308308
for (int i = 0; i < 4; ++i) { // Buttons for hats
309309
state |= (button_state[i] ? 1 << i : 0);
310310
}
311-
#endif
312311
Joystick.HAT = hat_mapping[state];
312+
#endif
313313
Joystick.sendState();
314314
Joystick.Button = SWITCH_BTN_NONE;
315315
#ifdef DEBUG_TIME

0 commit comments

Comments
 (0)