COMMON: Add JOYSTICK_BUTTON_INVALID to be used when no button is pressed

This commit is contained in:
Le Philousophe 2021-11-28 12:40:54 +01:00 committed by Paweł Kołodziejski
parent d6f37a161b
commit ba136b6f29

View File

@ -144,6 +144,7 @@ struct JoystickState {
* The list of named buttons available from a joystick.
*/
enum JoystickButton {
JOYSTICK_BUTTON_INVALID,
JOYSTICK_BUTTON_A,
JOYSTICK_BUTTON_B,
JOYSTICK_BUTTON_X,