From: havoc Date: Fri, 4 Feb 2005 11:04:06 +0000 (+0000) Subject: enable key repeat X-Git-Tag: xonotic-v0.1.0preview~5161 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=241fa69166b1c5d60f1fa722375dae11294c57e6;p=xonotic%2Fdarkplaces.git enable key repeat git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5000 d7cf8633-e32d-0410-b094-e92efae38249 --- 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;