diff options
Diffstat (limited to 'src/FLD.hpp')
-rw-r--r-- | src/FLD.hpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/FLD.hpp b/src/FLD.hpp index 958a724..ecc88a8 100644 --- a/src/FLD.hpp +++ b/src/FLD.hpp @@ -124,17 +124,17 @@ public: [[nodiscard]] bool keyPressed(SDL_Scancode sc) const; [[nodiscard]] bool keyReleased(SDL_Scancode sc) const; - [[nodiscard]] InputState mouseGet(SDL_Scancode sc) const; - [[nodiscard]] bool mouseDown(SDL_Scancode sc) const; - [[nodiscard]] bool mouseUp(SDL_Scancode sc) const; - [[nodiscard]] bool mousePressed(SDL_Scancode sc) const; - [[nodiscard]] bool mouseReleased(SDL_Scancode sc) const; + [[nodiscard]] InputState mouseGet(Uint8 btn) const; + [[nodiscard]] bool mouseDown(Uint8 btn) const; + [[nodiscard]] bool mouseUp(Uint8 btn) const; + [[nodiscard]] bool mousePressed(Uint8 btn) const; + [[nodiscard]] bool mouseReleased(Uint8 btn) const; - [[nodiscard]] InputState joyGet(SDL_Scancode sc) const; - [[nodiscard]] bool joyDown(SDL_Scancode sc) const; - [[nodiscard]] bool joyUp(SDL_Scancode sc) const; - [[nodiscard]] bool joyPressed(SDL_Scancode sc) const; - [[nodiscard]] bool joyReleased(SDL_Scancode sc) const; + [[nodiscard]] InputState joyGet(Uint8 btn) const; + [[nodiscard]] bool joyDown(Uint8 btn) const; + [[nodiscard]] bool joyUp(Uint8 btn) const; + [[nodiscard]] bool joyPressed(Uint8 btn) const; + [[nodiscard]] bool joyReleased(Uint8 btn) const; private: bool shouldQuit = false; struct { |