We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 403cc00 commit 0655872Copy full SHA for 0655872
src/def.h
@@ -181,7 +181,7 @@
181
#define BUTTON_HELD_PAGEDOWN SDL_JoystickGetButton(g_joystick, 5) || SDL_JoystickGetButton(g_joystick, 11)
182
#define BUTTON_HELD_SELECT SDL_JoystickGetButton(g_joystick, 3)
183
#define BUTTON_HELD_VALIDATE SDL_JoystickGetButton(g_joystick, 0)
184
-#if defined(DEVICE_RG351MP)
+#elif defined(DEVICE_RG351MP)
185
#define BUTTON_PRESSED_UP event.type == SDL_JOYBUTTONDOWN && event.jbutton.button == 8
186
#define BUTTON_PRESSED_DOWN event.type == SDL_JOYBUTTONDOWN && event.jbutton.button == 9
187
#define BUTTON_PRESSED_LEFT event.type == SDL_JOYBUTTONDOWN && event.jbutton.button == 10
0 commit comments