Apply graphics conf changes with F on kb or X/Start on cont (#11)

This commit is contained in:
thecozies
2024-04-30 09:29:02 -05:00
committed by GitHub
parent 8a70b2313e
commit d555f0c65b
3 changed files with 22 additions and 3 deletions
+3
View File
@@ -1150,6 +1150,9 @@ int cont_button_to_key(SDL_ControllerButtonEvent& button) {
return SDLK_RIGHT;
case SDL_GameControllerButton::SDL_CONTROLLER_BUTTON_A:
return SDLK_RETURN;
case SDL_GameControllerButton::SDL_CONTROLLER_BUTTON_X:
case SDL_GameControllerButton::SDL_CONTROLLER_BUTTON_START:
return SDLK_f;
// Allows closing the menu
case SDL_GameControllerButton::SDL_CONTROLLER_BUTTON_BACK:
return SDLK_ESCAPE;