diff options
author | Arisotura <thetotalworm@gmail.com> | 2019-06-04 16:19:49 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2019-06-04 16:19:49 +0200 |
commit | eaaf5ec93b7ff5d0de885ed276e7357dcf44ce1f (patch) | |
tree | 770e972d98d0fcbf11bc66eb5e739711cc66bb1c | |
parent | 86b4cbcb03a7293bb90490fdfd5c91dda1a15bbc (diff) |
also, don't hardcode the timer interval in the callback
-rw-r--r-- | src/libui_sdl/DlgInputConfig.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libui_sdl/DlgInputConfig.cpp b/src/libui_sdl/DlgInputConfig.cpp index fae85e0..392eb44 100644 --- a/src/libui_sdl/DlgInputConfig.cpp +++ b/src/libui_sdl/DlgInputConfig.cpp @@ -253,7 +253,7 @@ Uint32 JoyPoll(Uint32 interval, void* param) return 0; } - return 100; + return interval; } |