summaryrefslogtreecommitdiffhomepage
path: root/opentrack/win32-joystick.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/win32-joystick.hpp')
-rw-r--r--opentrack/win32-joystick.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/opentrack/win32-joystick.hpp b/opentrack/win32-joystick.hpp
index e68ea2c6..df00aee7 100644
--- a/opentrack/win32-joystick.hpp
+++ b/opentrack/win32-joystick.hpp
@@ -76,6 +76,7 @@ private:
QString guid, name;
bool pressed[128];
Timer first_timer;
+ DIJOYSTATE2 js_old;
joy(LPDIRECTINPUTDEVICE8 handle, const QString& guid, const QString& name)
: joy_handle(handle), guid(guid), name(name)