From 67bbbe284fc2d8b75ffa71380a46da59882510a8 Mon Sep 17 00:00:00 2001 From: cpasjuste Date: Mon, 7 Jan 2019 15:19:09 +0100 Subject: [PATCH] sdl2: use (+) to exit --- graphics/sdl2/source/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphics/sdl2/source/main.cpp b/graphics/sdl2/source/main.cpp index 134ec70..1aef489 100644 --- a/graphics/sdl2/source/main.cpp +++ b/graphics/sdl2/source/main.cpp @@ -88,8 +88,8 @@ int main(int argc, char *argv[]) } else { SDL_SetWindowSize(window, 1920, 1080); } - } else if (event.jbutton.button == 1) { - // (B) button down + } else if (event.jbutton.button == 10) { + // (+) button down done = 1; } }