mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-20 00:50:38 +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:
parent
346067896a
commit
3f299f62b6
@ -1306,7 +1306,7 @@ typedef struct {
|
|||||||
} MMSP2ADC;
|
} MMSP2ADC;
|
||||||
|
|
||||||
void GMenu2X::setInputSpeed() {
|
void GMenu2X::setInputSpeed() {
|
||||||
SDL_EnableKeyRepeat(1,150);
|
SDL_EnableKeyRepeat(250, 150);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ENABLE_CPUFREQ
|
#ifdef ENABLE_CPUFREQ
|
||||||
|
Loading…
Reference in New Issue
Block a user