les tecles de control estan definides al fitxer de configuracio

This commit is contained in:
2025-11-02 17:08:56 +01:00
parent 9102c6a65e
commit ba06bccabc
7 changed files with 57 additions and 19 deletions

View File

@@ -121,6 +121,7 @@ class Input {
// --- Métodos de configuración de controles ---
void bindKey(Action action, SDL_Scancode code);
void applyKeyboardBindingsFromOptions(); // Aplica las teclas configuradas desde Options
static void bindGameControllerButton(const std::shared_ptr<Gamepad>& gamepad, Action action, SDL_GamepadButton button);
static void bindGameControllerButton(const std::shared_ptr<Gamepad>& gamepad, Action action_target, Action action_source);