From: "Sean Middleditch" Newsgroups: comp.os.msdos.djgpp References: <6tjfon$bac$1 AT reader1 DOT reader DOT news DOT ozemail DOT net> Subject: Re: Keyboard input in Allegro Date: Mon, 14 Sep 1998 15:12:02 -0400 Lines: 21 Organization: AwesomePlay Productions NNTP-Posting-Host: usr04-074.provide.net Message-ID: <35fd6bd7.0@news.provide.net> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk >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