aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2019-06-04 16:19:49 +0200
committerArisotura <thetotalworm@gmail.com>2019-06-04 16:19:49 +0200
commiteaaf5ec93b7ff5d0de885ed276e7357dcf44ce1f (patch)
tree770e972d98d0fcbf11bc66eb5e739711cc66bb1c
parent86b4cbcb03a7293bb90490fdfd5c91dda1a15bbc (diff)
also, don't hardcode the timer interval in the callback
-rw-r--r--src/libui_sdl/DlgInputConfig.cpp2
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;
}