From 5fcfc0ae8222de65e83857947e23eb6b449f3f03 Mon Sep 17 00:00:00 2001 From: ewewukek Date: Thu, 11 Jan 2024 13:50:03 +0300 Subject: Gui support for joystick buttons --- src/input/joystick.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/input/joystick.h') 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; -- cgit v1.2.3-70-g09d2