summaryrefslogtreecommitdiffhomepage
path: root/opentrack
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-11-11 13:45:10 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-11-11 13:45:10 +0100
commitdce46278e8ccb63a1f6dd60733671fdcaad59873 (patch)
tree035c4ce3ec4fc17e6c454be949f2033125740263 /opentrack
parent17849b12f232c89bdae16f7e179d3a92a32280ad (diff)
shortcuts: register joysticks every 250 ms, not 2 seconds
Issue: #118
Diffstat (limited to 'opentrack')
-rw-r--r--opentrack/win32-joystick-shortcuts.hpp2
1 files changed, 1 insertions, 1 deletions
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<std::shared_ptr<joy>> joys;
Timer timer_joylist;
- enum { joylist_refresh_ms = 2000 };
+ enum { joylist_refresh_ms = 250 };
}; \ No newline at end of file