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: Dustin Voss <email@hidden>
- Date: Wed, 13 Apr 2005 13:02:40 -0700
If the left vs. right shift key is an issue for you, you might want to
skip directly to using the HIG Manager. That might also save you from
international and remapped keyboard issues.
On 13 Apr, 2005, at 8:33 AM, Peter Maurer wrote:
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.)
_______________________________________________
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