summaryrefslogtreecommitdiff
path: root/src/input/joystick.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-29 01:08:33 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-29 12:56:42 +0300
commit5f048b85f826a85278545ac363d7058793fb3ece (patch)
tree08065744c9dbe0bcc428955c5187df17b88a70e2 /src/input/joystick.cpp
parent7c74dc533ce120a27ac4b68acb1c5b2f6c5cc680 (diff)
downloadmv-5f048b85f826a85278545ac363d7058793fb3ece.tar.gz
mv-5f048b85f826a85278545ac363d7058793fb3ece.tar.bz2
mv-5f048b85f826a85278545ac363d7058793fb3ece.tar.xz
mv-5f048b85f826a85278545ac363d7058793fb3ece.zip
Move variables definition into each file with class definition.
Diffstat (limited to 'src/input/joystick.cpp')
-rw-r--r--src/input/joystick.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/joystick.cpp b/src/input/joystick.cpp
index f3dd2e90c..c9f2a85e7 100644
--- a/src/input/joystick.cpp
+++ b/src/input/joystick.cpp
@@ -34,6 +34,7 @@
#include "debug.h"
+Joystick *joystick = nullptr;
int Joystick::joystickCount = 0;
bool Joystick::mEnabled = false;