[gameprogrammer] Re: Key Repeat problem

On Friday 20 January 2006 15:23, David Olsen wrote:
> Sorry if this is a dumb question, since I'm not familiar with linux,
> but is the behavior consistent regardless of any settings you try
> with SDL_EnableKeyRepeat(delay,rate)? have you tried a 0 for delay,
[...]

I don't think the OP is using SDL.

Either way, SDL seems to be concistent WRT keyboard repeat, and I 
haven't had any problems with it so far on any platform I've used. 
(Linux/x86, Linux/AMD64, Win32/x86, Mac OS X/PPC.)

Also, SDL actually bypasses the hardware/OS keyboard repeat. What 
SDL_EnableKeyRepeat() activates (keyboard repeat is disabled by 
default) is an internal implementation that is concistent across 
platforms, and gives much more accurate control of the timing. (ms 
resolution, no practical limitations - very different using the 
keyboard MCU repeat logic, that is.)


//David Olofson - Programmer, Composer, Open Source Advocate

.-------  http://olofson.net - Games, SDL examples  -------.
|        http://zeespace.net - 2.5D rendering engine       |
|       http://audiality.org - Music/audio engine          |
|     http://eel.olofson.net - Real time scripting         |
'--  http://www.reologica.se - Rheology instrumentation  --'


---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: