summaryrefslogtreecommitdiff
path: root/src/joystick.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-09 03:16:39 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-09 03:16:39 +0300
commit955d2dab6f5e75c913bdfa15ed2d6b9c3cdf3338 (patch)
tree8f5fc1cd758da4bda6a305ebcd95d3ccd719d98e /src/joystick.cpp
parent274737b8d9b46dfcf6fc696123e869bbf6adaaf6 (diff)
downloadmv-955d2dab6f5e75c913bdfa15ed2d6b9c3cdf3338.tar.gz
mv-955d2dab6f5e75c913bdfa15ed2d6b9c3cdf3338.tar.bz2
mv-955d2dab6f5e75c913bdfa15ed2d6b9c3cdf3338.tar.xz
mv-955d2dab6f5e75c913bdfa15ed2d6b9c3cdf3338.zip
Fix code style.
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)