diff options
Diffstat (limited to 'src/input/joystick.h')
-rw-r--r-- | src/input/joystick.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/input/joystick.h b/src/input/joystick.h index 35c114d82..a3c129950 100644 --- a/src/input/joystick.h +++ b/src/input/joystick.h @@ -59,6 +59,11 @@ class Joystick final static void init(); /** + * Detects joysticks and (re)connects. + */ + static void detect(); + + /** * Returns the number of available joysticks. */ static int getNumberOfJoysticks() A_WARN_UNUSED @@ -136,8 +141,6 @@ class Joystick final void resetRepeat(const int key); - void reload(); - protected: unsigned char mDirection; @@ -166,6 +169,7 @@ class Joystick final * Is joystick support enabled. */ static bool mEnabled; + static bool mInitialized; static int joystickCount; void doCalibration(); |