From af24aba899551cce7c4b4d3f3dfe0f31ecf0918d Mon Sep 17 00:00:00 2001 From: erihel Date: Thu, 18 Apr 2013 21:02:25 +0200 Subject: * Key repeating in edit fields --- src/app/app.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/app/app.cpp b/src/app/app.cpp index 3801f95..6231eb6 100644 --- a/src/app/app.cpp +++ b/src/app/app.cpp @@ -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); -- cgit v1.2.3-1-g7c22