Skip to content

Commit 0655872

Browse files
committed
Fixed #define error
1 parent 403cc00 commit 0655872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/def.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
#define BUTTON_HELD_PAGEDOWN SDL_JoystickGetButton(g_joystick, 5) || SDL_JoystickGetButton(g_joystick, 11)
182182
#define BUTTON_HELD_SELECT SDL_JoystickGetButton(g_joystick, 3)
183183
#define BUTTON_HELD_VALIDATE SDL_JoystickGetButton(g_joystick, 0)
184-
#if defined(DEVICE_RG351MP)
184+
#elif defined(DEVICE_RG351MP)
185185
#define BUTTON_PRESSED_UP event.type == SDL_JOYBUTTONDOWN && event.jbutton.button == 8
186186
#define BUTTON_PRESSED_DOWN event.type == SDL_JOYBUTTONDOWN && event.jbutton.button == 9
187187
#define BUTTON_PRESSED_LEFT event.type == SDL_JOYBUTTONDOWN && event.jbutton.button == 10

0 commit comments

Comments
 (0)