FROM : Dustin Voss
DATE : Wed Apr 13 22:02:40 2005
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.)
DATE : Wed Apr 13 22:02:40 2005
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.)
| Related mails | Author | Date |
|---|---|---|
| Dan Yocom | Apr 13, 17:06 | |
| Peter Maurer | Apr 13, 17:33 | |
| Dustin Voss | Apr 13, 22:02 | |
| Dan Yocom | Apr 14, 23:20 |






Cocoa mail archive

