From dce46278e8ccb63a1f6dd60733671fdcaad59873 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 11 Nov 2015 13:45:10 +0100 Subject: shortcuts: register joysticks every 250 ms, not 2 seconds Issue: #118 --- opentrack/win32-joystick-shortcuts.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opentrack/win32-joystick-shortcuts.hpp') diff --git a/opentrack/win32-joystick-shortcuts.hpp b/opentrack/win32-joystick-shortcuts.hpp index 3c839197..23228835 100644 --- a/opentrack/win32-joystick-shortcuts.hpp +++ b/opentrack/win32-joystick-shortcuts.hpp @@ -267,5 +267,5 @@ end: return DIENUM_CONTINUE; LPDIRECTINPUT8 dinput_handle; std::vector> joys; Timer timer_joylist; - enum { joylist_refresh_ms = 2000 }; + enum { joylist_refresh_ms = 250 }; }; \ No newline at end of file -- cgit v1.2.3