Ja es poden conectar i desconectar mandos en calent, que tot el mon s'entera
This commit is contained in:
@@ -168,7 +168,7 @@ class Input {
|
||||
void resetInputStates();
|
||||
|
||||
// --- Eventos ---
|
||||
auto handleEvent(const SDL_Event &event) -> bool;
|
||||
auto handleEvent(const SDL_Event &event) -> std::string;
|
||||
|
||||
void printConnectedGamepads() const;
|
||||
|
||||
@@ -190,8 +190,8 @@ class Input {
|
||||
// --- Métodos internos ---
|
||||
void initSDLGamePad();
|
||||
static auto checkAxisInput(Action action, std::shared_ptr<Gamepad> gamepad, bool repeat) -> bool;
|
||||
void addGamepad(int device_index);
|
||||
void removeGamepad(SDL_JoystickID id);
|
||||
auto addGamepad(int device_index) -> std::string;
|
||||
auto removeGamepad(SDL_JoystickID id) -> std::string;
|
||||
void addGamepadMappingsFromFile();
|
||||
void discoverGamepads();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user