migrant input: ja mapeja be tots els botons desde el fitxer de configuració

This commit is contained in:
2025-08-04 19:58:10 +02:00
parent adf21086e5
commit 4fd78d216a
4 changed files with 22 additions and 12 deletions
+2 -1
View File
@@ -50,4 +50,5 @@ enum class InputAction : int {
extern const std::unordered_map<InputAction, std::string> actionToString;
extern const std::unordered_map<std::string, InputAction> stringToAction;
extern const std::unordered_map<SDL_GamepadButton, std::string> buttonToString;
extern const std::unordered_map<std::string, SDL_GamepadButton> stringToButton;
extern const std::unordered_map<std::string, SDL_GamepadButton> stringToButton;
extern const std::unordered_map<InputAction, InputAction> actionToAction;