Keyboard buffer

Chipp Walters chipp at chipp.com
Sun Jun 16 01:37:01 EDT 2002


Larry,

Check out the flushevents() function. Perhaps it will do what you want.

> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com
> [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Larry Litton
> Sent: Sunday, June 16, 2002 12:46 AM
> To: use-revolution at lists.runrev.com
> Subject: Keyboard buffer
> 
> 
> I have a stack that while running a script, needs to look at the 
> keyboard to see if some keys are pressed.  I don't care about all of the 
> keys, just a few.  The script works fine, I use the keysdown function 
> with no problems until I end the script.  Then all at once the keyboard 
> buffer dumps into a field.  Is there a way of purging the keyboard 
> buffer?  If the user holds the key down while in the script, I get the 
> desired effects until its over.
> 
> Thanks
> 
> llitton
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list