Re: Mac Keycodes - Difference between Left Shift and Right Shift etc?
Re: Mac Keycodes - Difference between Left Shift and Right Shift etc?
- Subject: Re: Mac Keycodes - Difference between Left Shift and Right Shift etc?
- From: Peter Maurer <email@hidden>
- Date: Wed, 13 Apr 2005 17:33:34 +0200
I have a question about Mac keycodes. Is there a difference(in
keycode) between the shift key on the left side of the keyboard and
the one on the right? I know on windows computer there is. All of my
searchings have led me to belive that both shift keys produce the same
keycode. What about the command keys, etc?
I don't know about the actual keycodes, but my shift keys do seem to
produce different modifier values (131330 and 131332), as displayed in
the attached screenshot. So you might be able to do your thing by
polling the modifier keys' state.
(The screenshot is from my own little key codes utility, which I can
send to you, if you're interested in giving it a try.)
Cheers,
Peter.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden