MacOS – Is it possible to swap option and command keys for a specific keyboard

keybindingskeyboardmacmacos

I just bought a Logitech USB keyboard (Logitech K120, if that matters.) It's a Windows keyboard, so it has a Windows key and an alt key. The Windows key maps to Command, and the Alt key maps to option. The keys are reversed from their positions on a normal Mac keyboard. It's driving me nuts.

I'm running 10.12.1 (Sierra)

Is there any way to remap them, for this specific keyboard?

Best Answer

You can change the functions of the modifier keys (Caps Lock, Control, Option, Command) in System Preferences -> Keyboard -> Modifier Keys.

If you have more than one keyboard, the setting window allows you to select and set separate mapping for each one:

enter image description here