1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-12-26 09:09:54 +02:00

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.
This commit is contained in:
Maarten ter Huurne 2013-08-09 18:18:51 +02:00
parent 346067896a
commit 3f299f62b6

View File

@ -1306,7 +1306,7 @@ typedef struct {
} MMSP2ADC;
void GMenu2X::setInputSpeed() {
SDL_EnableKeyRepeat(1,150);
SDL_EnableKeyRepeat(250, 150);
}
#ifdef ENABLE_CPUFREQ