- [NEW] Afegit menu per a redefinir els botons del gamepad
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user