diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-12-06 05:59:36 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-12-06 05:59:36 +0100 |
commit | b31e4997de81efc3941072cc48b5f09064e62e81 (patch) | |
tree | 35e50373ae0cef604b0ceb11b709b850d7110a42 /opentrack | |
parent | 5076d0c35eacb2e7b246e7bd5e6637086ea74a15 (diff) |
api/joy: speed up poll_axis path
We don't really need to poll for joysticks in tracker/joy.
Diffstat (limited to 'opentrack')
-rw-r--r-- | opentrack/win32-joystick.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/win32-joystick.cpp b/opentrack/win32-joystick.cpp index 78720c79..f4bfba76 100644 --- a/opentrack/win32-joystick.cpp +++ b/opentrack/win32-joystick.cpp @@ -18,7 +18,7 @@ void win32_joy_ctx::poll(fn f) bool win32_joy_ctx::poll_axis(const QString &guid, int axes[]) { - refresh(false); + //refresh(false); QMutexLocker l(&mtx); |