* Key repeating in edit fields

dev-ui
erihel 2013-04-18 21:02:25 +02:00
parent 6ea0031d83
commit af24aba899
1 changed files with 1 additions and 0 deletions

View File

@ -449,6 +449,7 @@ bool CApplication::Create()
// Enable translating key codes of key press events to unicode chars
SDL_EnableUNICODE(1);
SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
// Don't generate joystick events
SDL_JoystickEventState(SDL_IGNORE);