On Thu, 27 Sep 2001 Scott Rossi <[EMAIL PROTECTED]> wrote:
> 
> 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.

Correct.  This is required because of a design flaw in MacOS: it
doesn't guarantee that the same process that got the key down event
will get the key up event.  And in fact this bug showed up with some
regularity until we hard-coded the keyUp message to the keyDown event,
ugly as it may be.

>  On Windows, if a key is held down for what I'm
> guessing is the repeatDelay, a keyUp message is sent.

True, followed immediately by another keyDown.  You will get an equal
number of them, though.

>  It seems to be
> impossible to truly test for states of keys on these systems.
> 
> Am I missing something here?

Methinks you've overlooked the "keysDown" function, which returns
exactly this information.
  Regards,
    Scott

> Regards,
> 
> Scott
> 
> _____________________________________________________________________
> Scott Rossi                       Tactile Media - Multimedia & Design
> Creative Director                 Email: [EMAIL PROTECTED]
>                                   Web: www.tactilemedia.com

********************************************************
Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...


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.

Reply via email to