mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-12 20:18:00 +01:00
mainloop: cosmetic change to silence clang-tidy
This commit is contained in:
parent
9ec64c46b3
commit
5981486764
1 changed files with 2 additions and 2 deletions
|
@ -118,15 +118,15 @@ static inline bool HandleEvent(struct Game* game, ALLEGRO_EVENT* ev) {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
#ifdef __SWITCH__
|
||||||
case ALLEGRO_EVENT_JOYSTICK_BUTTON_DOWN:
|
case ALLEGRO_EVENT_JOYSTICK_BUTTON_DOWN:
|
||||||
case ALLEGRO_EVENT_JOYSTICK_BUTTON_UP:
|
case ALLEGRO_EVENT_JOYSTICK_BUTTON_UP:
|
||||||
#ifdef __SWITCH__
|
|
||||||
// ignore button events coming form analog movement
|
// ignore button events coming form analog movement
|
||||||
if (ev->joystick.button > 15) {
|
if (ev->joystick.button > 15) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue