summaryrefslogtreecommitdiffhomepage
path: root/opentrack/win32-joystick.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-12-06 05:59:36 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-12-06 05:59:36 +0100
commitb31e4997de81efc3941072cc48b5f09064e62e81 (patch)
tree35e50373ae0cef604b0ceb11b709b850d7110a42 /opentrack/win32-joystick.cpp
parent5076d0c35eacb2e7b246e7bd5e6637086ea74a15 (diff)
api/joy: speed up poll_axis path
We don't really need to poll for joysticks in tracker/joy.
Diffstat (limited to 'opentrack/win32-joystick.cpp')
-rw-r--r--opentrack/win32-joystick.cpp2
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);