summaryrefslogtreecommitdiff
path: root/src/joystick.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-09 04:08:14 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-09 04:08:14 +0300
commitcda0e9f6f9b9461f87af33f8a2f46c4464d473b5 (patch)
tree8085b03aa12a4470c8442a3c40819de217a26d35 /src/joystick.h
parenta9c6d1da99732437d56b9ca964bb1b13b8d76887 (diff)
downloadmanaverse-cda0e9f6f9b9461f87af33f8a2f46c4464d473b5.tar.gz
manaverse-cda0e9f6f9b9461f87af33f8a2f46c4464d473b5.tar.bz2
manaverse-cda0e9f6f9b9461f87af33f8a2f46c4464d473b5.tar.xz
manaverse-cda0e9f6f9b9461f87af33f8a2f46c4464d473b5.zip
Enable joystick hat support for moving. Now only support hat with index 0.
Diffstat (limited to 'src/joystick.h')
-rw-r--r--src/joystick.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/joystick.h b/src/joystick.h
index 16f4b9bd3..be23599c9 100644
--- a/src/joystick.h
+++ b/src/joystick.h
@@ -129,6 +129,7 @@ class Joystick
bool mCalibrated;
int mButtonsNumber;
bool mUseInactive;
+ bool mHaveHats;
/**
* Is joystick support enabled.