Quit with SELECT/BACK controller button

This commit is contained in:
twojstaryzdomu 2022-03-07 12:03:15 +01:00 committed by Gregory Montoir
parent f0f4b567b0
commit cc3f301495
1 changed files with 1 additions and 0 deletions

View File

@ -443,6 +443,7 @@ static void handle_controllerbutton(int button, bool pressed, struct input_t *in
input->space = pressed;
break;
case SDL_CONTROLLER_BUTTON_BACK:
g_sys.input.quit = true;
break;
case SDL_CONTROLLER_BUTTON_START:
break;