[croquet] Re: Windows keyDown events - numeric pad mapping to alphabet.

orion elenzil oxe at eecs.berkeley.edu
Tue Dec 21 22:50:35 UTC 2004


Andreas wrote:

> If you are interested in the 
> character "1" which is generated by the numeric pad, then you should use 
> the keyStroke event and NOT keyDown.

I'd love to except i need the keyUp event as well
to promptly register when the user has released the key.
(For responsive keyboard 3d navigation.)

>> Where would be an appropriate place to do this mapping ?
> This would be (if you update your Tweak environment)
 > in CPlatform and friends.

Thanks.
Remind me how to do that again ?
I don't have CPlatform currently.


> Either keyStroke instead of keyDown (which trivially solves your 
> problem) or use an appropriate mapping table depending on the platform 
> you are running on (which might remap numpad #1 to regular #1 or so).

- Which is in the CPlatform ?

thanks again.

Orion




More information about the Squeak-dev mailing list