Saturday, July 18, 2015

Mac: How do I remap the context menu key on my keyboard to the command key?


I just got tho TRON gaming keyboard from razer. It's great: super sturdy and stuff.... But there is no command button on the right side... which is an issue for me, being a DVorak user, all of my shortcut keys become two handed.


But there is a context menu button inbetween alt and ctrl.


With KeyCodes from the mac app store, I've discovered that the key Is :


Key Down
Characters:
Unicode: 16 / 0x10
Keys:
Key Code: 110 / 0x6e
Modifiers: 256 / 0x100

So, I'd like to remap that key to the command key, which looks like this:
(right command key)


Modifiers:  1048848 / 0x100110

Answer



Karabiner (formerly KeyRemap4Macbook), which contrary to it's name works with all keyboards on any mac, should do the trick. Really designed for these sort of things. Especially PC keyboards. Don't know if it has a predefined rule, but with the info you already have you may define your own.


MacOS Sierra requires Karabiner Elements & makes it impossible to remap the Eject-Key.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...