Quit with SELECT/BACK controller button
This commit is contained in:
parent
f0f4b567b0
commit
cc3f301495
|
@ -443,6 +443,7 @@ static void handle_controllerbutton(int button, bool pressed, struct input_t *in
|
||||||
input->space = pressed;
|
input->space = pressed;
|
||||||
break;
|
break;
|
||||||
case SDL_CONTROLLER_BUTTON_BACK:
|
case SDL_CONTROLLER_BUTTON_BACK:
|
||||||
|
g_sys.input.quit = true;
|
||||||
break;
|
break;
|
||||||
case SDL_CONTROLLER_BUTTON_START:
|
case SDL_CONTROLLER_BUTTON_START:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue