summaryrefslogtreecommitdiff
path: root/src/joystick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/joystick.cpp')
-rw-r--r--src/joystick.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/joystick.cpp b/src/joystick.cpp
index 0c78621d3..1527cd544 100644
--- a/src/joystick.cpp
+++ b/src/joystick.cpp
@@ -44,7 +44,10 @@ Joystick::Joystick(const int no):
mCalibrated(false),
mButtonsNumber(MAX_BUTTONS),
mUseInactive(false),
- mHaveHats(false)
+ mHaveHats(false),
+ mKeyToAction(),
+ mKeyToId(),
+ mKeyTimeMap()
{
for (int i = 0; i < MAX_BUTTONS; i++)
mActiveButtons[i] = false;