Mail Archives: djgpp/1998/09/14/15:31:20
>Whenever I hold a key down, my ship will move a bit, then stop, then move
>again. I'm pretty sure it has something to do with the keyboard delay
before
>repeating, How can i get around this?
I am unfamiliar with the keyboard routines in Allegro ( I only use the sound
and timer routines ). However, I have myself written a few keyboard, and I
know thta Allegro should have a method for installing a keyboard handler
that doesn't work like normal, but instead sets flags on when key is pressed
is pressed and off when it isn't ( this won't allow you to tell how many
times a key has been pressed, but it can tell you whether or not a key is
being pressed without a delay ).
Sean Middleditch
of
AwesomePlay Productions
http://www.angelfire.com/biz/aweplay
aweplay AT hotmail DOT com
- Raw text -