summaryrefslogtreecommitdiff
path: root/src/joystick.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-01-17 20:45:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-01-17 22:19:41 +0300
commitb86c930c9c18c95cf3e838ce56bf3b06cb5ca782 (patch)
tree2f64ba00fd43b21ae0c4975b99483b0c0f0ce2fa /src/joystick.h
parentbc9712cfb34a891a64bd28b76df0f9f4e5d01513 (diff)
downloadmanaverse-b86c930c9c18c95cf3e838ce56bf3b06cb5ca782.tar.gz
manaverse-b86c930c9c18c95cf3e838ce56bf3b06cb5ca782.tar.bz2
manaverse-b86c930c9c18c95cf3e838ce56bf3b06cb5ca782.tar.xz
manaverse-b86c930c9c18c95cf3e838ce56bf3b06cb5ca782.zip
Add detect joystick button in settings page.
This need to detect joystick changes.
Diffstat (limited to 'src/joystick.h')
-rw-r--r--src/joystick.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/joystick.h b/src/joystick.h
index 12e926723..16dc2aa72 100644
--- a/src/joystick.h
+++ b/src/joystick.h
@@ -135,6 +135,8 @@ class Joystick final
void resetRepeat(const int key);
+ void reload();
+
protected:
unsigned char mDirection;