diff options
Diffstat (limited to 'opentrack/win32-joystick-shortcuts.hpp')
-rw-r--r-- | opentrack/win32-joystick-shortcuts.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/opentrack/win32-joystick-shortcuts.hpp b/opentrack/win32-joystick-shortcuts.hpp index ee26215e..bde690c5 100644 --- a/opentrack/win32-joystick-shortcuts.hpp +++ b/opentrack/win32-joystick-shortcuts.hpp @@ -95,7 +95,10 @@ struct win32_joy_ctx { const bool state = !!(js.rgbButtons[i] & 0x80); if (state != pressed[i]) + { f(guid, i, state); + qDebug() << "btn" << guid << i << state; + } pressed[i] = state; } |