summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/joystick.cpp1
-rw-r--r--src/input/keyboardconfig.cpp2
2 files changed, 3 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;
diff --git a/src/input/keyboardconfig.cpp b/src/input/keyboardconfig.cpp
index 8fa71d6a6..49bcb831f 100644
--- a/src/input/keyboardconfig.cpp
+++ b/src/input/keyboardconfig.cpp
@@ -35,6 +35,8 @@
extern volatile int tick_time;
+KeyboardConfig keyboard;
+
KeyboardConfig::KeyboardConfig() :
mEnabled(true),
mActiveKeys(nullptr),