migrant input: commit abans que gemini destroçe algo

This commit is contained in:
2025-08-04 11:37:46 +02:00
parent 90c080f3e3
commit 050b6716bf
10 changed files with 245 additions and 99 deletions

View File

@@ -11,10 +11,6 @@
#include "gamepad_config_manager.h"
#include "input_types.h"
// Forward declaration para evitar dependencia circular
// struct GamepadConfig;
// class GamepadConfigManager;
// Clase Input: gestiona la entrada de teclado y mandos (singleton)
class Input {
public:
@@ -166,6 +162,7 @@ class Input {
void printConnectedGamepads() const;
[[nodiscard]] auto getGamepads() const -> const std::vector<std::shared_ptr<Gamepad>> & { return gamepads_; }
std::shared_ptr<Gamepad> findAvailableGamepadByName(const std::string &gamepad_name);
private:
// --- Constantes ---