Service Menu: afegides opcions per als mandos
This commit is contained in:
@@ -153,8 +153,10 @@ class Input {
|
||||
// --- Métodos de gestión de mandos ---
|
||||
[[nodiscard]] auto gameControllerFound() const -> bool;
|
||||
auto getControllerName(std::shared_ptr<Gamepad> gamepad) const -> std::string;
|
||||
auto getControllerNames() const -> std::vector<std::string>;
|
||||
[[nodiscard]] auto getNumGamepads() const -> int;
|
||||
std::shared_ptr<Gamepad> getGamepad(SDL_JoystickID id) const;
|
||||
std::shared_ptr<Input::Gamepad> getGamepadByName(const std::string &name) const;
|
||||
const Gamepads &getGamepads() const { return gamepads_; }
|
||||
|
||||
// --- Métodos de consulta y utilidades ---
|
||||
@@ -170,7 +172,6 @@ class Input {
|
||||
|
||||
void printConnectedGamepads() const;
|
||||
|
||||
//[[nodiscard]] auto getGamepads() const -> const Gamepads & { return gamepads_; }
|
||||
std::shared_ptr<Gamepad> findAvailableGamepadByName(const std::string &gamepad_name);
|
||||
void saveGamepadConfigFromGamepad(std::shared_ptr<Gamepad> gamepad);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user