summaryrefslogtreecommitdiffhomepage
path: root/opentrack-logic/win32-joystick.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack-logic/win32-joystick.hpp')
-rw-r--r--opentrack-logic/win32-joystick.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/opentrack-logic/win32-joystick.hpp b/opentrack-logic/win32-joystick.hpp
index ac592a54..0da5554b 100644
--- a/opentrack-logic/win32-joystick.hpp
+++ b/opentrack-logic/win32-joystick.hpp
@@ -42,9 +42,8 @@ struct OPENTRACK_LOGIC_EXPORT win32_joy_ctx
{
LPDIRECTINPUTDEVICE8 joy_handle;
QString guid, name;
- bool pressed[128];
+ bool pressed[128 + 4 * 4];
Timer first_timer;
- DIJOYSTATE2 js_old;
joy(LPDIRECTINPUTDEVICE8 handle, const QString& guid, const QString& name);
~joy();