From 3f299f62b6732ebf136310b5f800ad11f4663be5 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Fri, 9 Aug 2013 18:18:51 +0200 Subject: [PATCH] Set initial key repeat delay to a more sensible value Previously it was set to 1 ms, which in practice means "as fast as you can" and leads to a lot of unintended repeats. --- src/gmenu2x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gmenu2x.cpp b/src/gmenu2x.cpp index d9fe99a..aee96c2 100644 --- a/src/gmenu2x.cpp +++ b/src/gmenu2x.cpp @@ -1306,7 +1306,7 @@ typedef struct { } MMSP2ADC; void GMenu2X::setInputSpeed() { - SDL_EnableKeyRepeat(1,150); + SDL_EnableKeyRepeat(250, 150); } #ifdef ENABLE_CPUFREQ