- [NEW] Afegit menu per a redefinir els botons del gamepad

This commit is contained in:
2024-10-02 13:43:32 +02:00
parent 54667d3ebc
commit c92f2a13aa
8 changed files with 166 additions and 20 deletions

View File

@@ -50,8 +50,6 @@ namespace modules
if (input::keyPressed(SDL_SCANCODE_SPACE) || input::keyPressed(SDL_SCANCODE_RETURN) ||
input::keyPressed(config::getKey(KEY_JUMP)) || input::keyPressed(config::getKey(KEY_PICK))) {
//if (selected_option==MENU_AUDIO_MUSICA) config::toggleMusic();
//if (selected_option==MENU_AUDIO_SO) config::toggleSound();
if (selected_option==MENU_TECLES_TORNAR)
return MENU_TECLES_TORNAR;
else