mirror of
https://github.com/switchbrew/switch-examples.git
synced 2025-07-01 09:12:14 +02:00
sdl2: use (+) to exit
This commit is contained in:
parent
e556d8c675
commit
67bbbe284f
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user