MacOS – Cannot differentiate between LEFT ⌘ (0x37) and RIGHT ⌘ (0x36) keys

keybindingskeyboardmacosmicrosoft

I would like to swap the right- key with the right- key.

Microsoft Natural 4000

KeyRemap4MacBook's EventViewer shows that Alt Gr key acts as the left (Command_L in EventViewer), whereas I'd like to be the right (Command_R).

This is what it look like in EventViewer: first 2 lines are from left-, next 2 lines are from right- (with the same 0x37 code):
enter image description here

How can I get the right- key to register as Command_R (0x36) instead of Command_L (0x37)?

About the keyboard

It's the Microsoft Natural Ergonomic Keyboard 4000 with its drivers installed and setup like this:
enter image description here

I'll try my luck with uninstalling the drivers (which don't cause kernel panics anymore, as described here).

Best Answer

Why didn't it try this before? Removing Microsoft's drivers was the solution! Right-ALT now acts as Option_R out-of-the-box (and isn't affected by swapping CMD/ALT with OPTION/Windows key on the left side).