From e556d8c675fdee665a9a7994fe4ee35cf1ab7230 Mon Sep 17 00:00:00 2001 From: cpasjuste Date: Mon, 7 Jan 2019 15:14:59 +0100 Subject: [PATCH] sdl2: minor cleanup --- graphics/sdl2/source/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/sdl2/source/main.cpp b/graphics/sdl2/source/main.cpp index b65c087..134ec70 100644 --- a/graphics/sdl2/source/main.cpp +++ b/graphics/sdl2/source/main.cpp @@ -78,8 +78,8 @@ int main(int argc, char *argv[]) case SDL_JOYBUTTONDOWN: SDL_Log("Joystick %d button %d down\n", event.jbutton.which, event.jbutton.button); - // seek for joystick #0 // https://github.com/devkitPro/SDL/blob/switch-sdl2/src/joystick/switch/SDL_sysjoystick.c#L52 + // seek for joystick #0 if (event.jbutton.which == 0) { if (event.jbutton.button == 0) { // (A) button down