From 241fa69166b1c5d60f1fa722375dae11294c57e6 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 4 Feb 2005 11:04:06 +0000 Subject: [PATCH] enable key repeat git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5000 d7cf8633-e32d-0410-b094-e92efae38249 --- vid_sdl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vid_sdl.c b/vid_sdl.c index 0961a199..b10b064b 100644 --- a/vid_sdl.c +++ b/vid_sdl.c @@ -240,6 +240,8 @@ static void IN_Init( void ) { // init keyboard SDL_EnableUNICODE( SDL_ENABLE ); + // enable key repeat since everyone expects it + SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL); // init mouse vid_usingmouse = false; -- 2.39.2