From b31e4997de81efc3941072cc48b5f09064e62e81 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 6 Dec 2015 05:59:36 +0100 Subject: api/joy: speed up poll_axis path We don't really need to poll for joysticks in tracker/joy. --- opentrack/win32-joystick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3