diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-04 08:52:41 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-04 08:52:41 +0200 |
commit | 0fe80d8926fc35d23d99f551aef753be16c8939e (patch) | |
tree | 68aa37ec022cb2b37bd9085e4ac5ec1d0abc0e84 /opentrack-logic | |
parent | 3753ae9ba74fde7464c101fcdbc99b1bd83ce647 (diff) |
logic/joystick: don't logspam button presses
On my Saitek X65F there's erratic panel button logspam. The panel's been
thrown out since it's useless, and the connector is detached from
everything.
In any case don't do stderr io overhead for button presses.
Diffstat (limited to 'opentrack-logic')
-rw-r--r-- | opentrack-logic/win32-joystick.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/opentrack-logic/win32-joystick.cpp b/opentrack-logic/win32-joystick.cpp index b16a7021..41427629 100644 --- a/opentrack-logic/win32-joystick.cpp +++ b/opentrack-logic/win32-joystick.cpp @@ -216,7 +216,6 @@ bool win32_joy_ctx::joy::poll(fn f) if (state[j] != pressed[idx]) { f(guid, int(idx), state[j]); - qDebug() << "hat" << guid << i << "btn" << j << state[j]; pressed[idx] = state[j]; } } @@ -228,7 +227,6 @@ bool win32_joy_ctx::joy::poll(fn f) if (state != pressed[i]) { f(guid, i, state); - qDebug() << "btn" << guid << i << state; } pressed[i] = state; } |