summaryrefslogtreecommitdiff
path: root/src/joystick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/joystick.cpp')
-rw-r--r--src/joystick.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/joystick.cpp b/src/joystick.cpp
index 29e2c31cc..3084a5ae6 100644
--- a/src/joystick.cpp
+++ b/src/joystick.cpp
@@ -51,6 +51,10 @@ void Joystick::init()
Joystick::Joystick(int no):
mDirection(0),
mJoystick(nullptr),
+ mUpTolerance(0),
+ mDownTolerance(0),
+ mLeftTolerance(0),
+ mRightTolerance(0),
mCalibrating(false),
mCalibrated(false),
mButtonsNumber(MAX_BUTTONS)