views:

741

answers:

1

I have a Logitech keyboard (Ultra-Flat Keyboard Dark Shine to be exact), which has the context menu key in the middle of the windows and alt key, which is quite annoying.

Here's a screenshot of where the key is:

http://freshlog.com/grabs/ff532-How_do_I_remap_the_context_menu_key_in_Mac_OS_X

I can remap the windows and alt keys under the default Keyboard System Preferences Panel, but there doesn't seem to be a way to remap the context menu key.

Any ideas?

+1  A: 

If you can get a virtual key code for the key (using, say, http://www.manytricks.com/keycodes/), then you should be able to create your own keyboard layout by following http://developer.apple.com/technotes/tn2002/tn2056.html. There are some GUI programs like Ukelele (http://scripts.sil.org/ukelele) for editing keyboard layouts, but they probably don’t have the Context Menu key setup, so you will have to edit raw XML at some point.

andrew
But using XML layouts you can only map this key to a different key that is NOT a modifier! You cannot may modifiers via layout descriptions.
Mecki