keycodes??

Charles Hartman charles.hartman at conncoll.edu
Fri Nov 18 22:17:06 EST 2005


Thanks to Sarah & Phil. I just wanted to know if I could trust the  
basics -- escape, return, enter, arrow keys.

Charles

On Nov 18, 2005, at 4:27 PM, Phil Davis wrote:

> Sarah Reichelt wrote:
>> On 11/19/05, Charles Hartman <charles.hartman at conncoll.edu> wrote:
>>> Sometimes I need to use rawKeyDown handlers, which receive a keyCode
>>> parameter. Two questions: is there a table of these somewhere? and,
>>> are these cross-platform? (If I have to use two tables, and wrap
>>> everything in an "if platform" structure, I'm going to be very sad.)
>>>
>> Here is a link to a test stack I wrote to show you the key codes for
>> various keys: <http://www.troz.net/Rev/tutorials/KeyCoder.rev.gz>
>> I have always assumed they are cross-platform and don't remember
>> hearing of any problems.
>
>
> In my testing, I've seen platform differences in the keycodes of  
> some numeric keys (possibly uppercase?) and I think also the 10- 
> keypad keys (though I'm not certain about that one). I've never  
> compared non-numeric keycodes across platforms so I can't speak to  
> that.
>
> Phil Davis
>
>> Cheers,
>> Sarah
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list