[gameprogrammer] Re: Key Repeat problem

On Sat, 2006-01-21 at 13:53 +0100, David Olofson wrote:
> On Friday 20 January 2006 21:22, Bob Pendleton wrote:
> [...]
> > > As to the Java problem, where/how is this stuff implemented? Maybe 
> > > there's some lower, but still accessible layer below where this 
> > > problem occurs...
> > 
> > Just off the top of my head it sounds like this is an X11
> > configuration problem that has nothing to do with Java.
> 
> But then it would probably happen with SDL, Qt, GTK+ etc as well, 
> right? (Unless the Java implementation uses X11 in some way that 
> nothing else does.)

I was just poking around the x11 driver for SDL and see that it
implements key repeat on its own. I know from past experience that
getting key repeat on x11 to work the way you expect is surprisingly
difficult to do and easy to do wrong... Sadly, it was long enough ago
that I no longer remember the details. :-(  Yeah, SDL does some
interesting stuff to keep from sending the repeated key over and over
and over again.

                Bob Pendleton

> 
> 
> //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
> 
> 
> 
-- 
+--------------------------------------+
+ Bob Pendleton: writer and programmer +
+ email: Bob@xxxxxxxxxxxxx             +
+ web: www.GameProgrammer.com          +
+ www.Wise2Food.com                    +
+ nutrient info on 7,000+ common foods +
+--------------------------------------+



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


Other related posts: