From 3ac3eb2b4874782bac4aeac14cc39e63c1188acd Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 3 Dec 2015 22:45:02 +0100 Subject: api/joystick: refresh more often, it's cheap enough cpu-wise --- opentrack/win32-joystick.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opentrack') diff --git a/opentrack/win32-joystick.hpp b/opentrack/win32-joystick.hpp index 3f47d170..421774a9 100644 --- a/opentrack/win32-joystick.hpp +++ b/opentrack/win32-joystick.hpp @@ -56,7 +56,7 @@ struct OPENTRACK_EXPORT win32_joy_ctx win32_joy_ctx& operator=(const win32_joy_ctx&) = delete; private: - enum { joylist_refresh_ms = 250 }; + enum { joylist_refresh_ms = 100 }; QMutex mtx; Timer timer_joylist; -- cgit v1.2.3