Keypress Help

Pat Trendler ptrendler at bigpond.com
Mon Apr 18 20:26:19 EDT 2005


And of course those keys which remove the hilite from the btn Space and 
Return.

----- Original Message ----- 
From: "Pat Trendler" <ptrendler at bigpond.com>
To: "How to use Revolution" <use-revolution at lists.runrev.com>
Sent: Tuesday, April 19, 2005 10:23 AM
Subject: Re: Keypress Help


> Win XP Pro SP2 etc
>
> All keys detected except those you wouldn't expect to detect:  Power, 
> Sleep and WakeUp.
>
> Pat
>
> ----- Original Message ----- 
> From: "Scott Rossi" <scott at tactilemedia.com>
> To: <use-revolution at lists.runrev.com>
> Sent: Tuesday, April 19, 2005 10:06 AM
> Subject: Re: Keypress Help
>
>
>> Recently, J. Landman Gay  wrote:
>>
>>>> How can one reliably tell on Windows when a key is pressed versus when 
>>>> it is
>>>> released?
>>>
>>> Are you sure you don't have your operating systems backwards? ;) In my
>>> experience, it has always been Mac OS that doesn't generate accurate
>>> keyUp messages. Windows has always worked for me. That is an OS
>>> limitation, as Macs send keyup immediately after keydown, regardless of
>>> the physical state of the key itself. Or at least, that's how it has
>>> always been in the past.
>>
>> Thanks for the response Jacque.  But I wonder if you might be thinking 
>> about
>> OS9.  OSX works great for me.
>>
>> When I run the following simple test stack on MacOS, it works as 
>> expected:
>>
>>  go url "http://www.tactilemedia.com/download/keytracker.rev"
>>
>> Enable the test button and press one/some keys.  The pressed keys are 
>> shown
>> and [empty] is displayed when nothing is pressed.
>>
>> When this is run on WindowsXP, I get a mostly empty result, that flickers
>> between the pressed keys and [empty].  The keysDown function is 
>> apparently
>> not working because it doesn't seem to reliably return the keys that are
>> pressed (my understanding is the keysDown function was originally 
>> designed
>> to get around this whole key detection problem).
>>
>> Does this work for you on Windows (or anyone else for that matter)?
>>
>> Thanks & Regards,
>>
>> Scott Rossi
>> Creative Director
>> Tactile Media, Multimedia & Design
>> -----
>> E: scott at tactilemedia.com
>> W: http://www.tactilemedia.com
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>
> _______________________________________________
> 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