diff options
author | ewewukek <ewewukek@gmail.com> | 2024-01-11 13:50:03 +0300 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2024-05-15 00:11:38 +0200 |
commit | 1dc559144c8809e2d9ab91a5f90a2047fc0595bc (patch) | |
tree | 47fbac5776f2277df4a625cc5a8547c99d28589f /src/input/joystick.h | |
parent | 046ac8fceda89092f01325abbc8d2b5b8602719c (diff) | |
download | plus-1dc559144c8809e2d9ab91a5f90a2047fc0595bc.tar.gz plus-1dc559144c8809e2d9ab91a5f90a2047fc0595bc.tar.bz2 plus-1dc559144c8809e2d9ab91a5f90a2047fc0595bc.tar.xz plus-1dc559144c8809e2d9ab91a5f90a2047fc0595bc.zip |
Gui support for joystick buttons
Diffstat (limited to 'src/input/joystick.h')
-rw-r--r-- | src/input/joystick.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input/joystick.h b/src/input/joystick.h index 805efa6ad..2a43d1a14 100644 --- a/src/input/joystick.h +++ b/src/input/joystick.h @@ -151,6 +151,8 @@ class Joystick final KeysVector *getActionVectorByKey(const int i) A_WARN_UNUSED; + InputActionT getActionId(const SDL_Event &event) A_WARN_UNUSED; + int getButtonFromEvent(const SDL_Event &event) const A_WARN_UNUSED; bool isActionActive(const InputActionT index) const A_WARN_UNUSED; |