>I'm wondering if I'm missing something with regard to the ability to test >the state of keypresses in MC. On Mac systems, a keyUp message is sent when >a key is pressed down. On Windows, if a key is held down for what I'm >guessing is the repeatDelay, a keyUp message is sent. It seems to be >impossible to truly test for states of keys on these systems.
2.4 introduced a new function, keysDown() (can also be called by the keysDown) , which returns a comma-delimited list of keys pressed on the keyboard. It uses an id number, so you can't simply query for the "a" key, for instance, but once you know the id of the key you want, it's really a super-useful function. -- Karl Becker, KB Productions - http://www.karlbecker.com Featuring:New Tricks, Tiger's Eye Pub, and The Fishin' Hole Archives: http://www.mail-archive.com/[email protected]/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
