9

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?

  • @klanomath, see my edit. – Duncan C Dec 8 '16 at 3:33
  • 1
    If you go to System Preferences -> Keyboard -> Modifier Keys you cannot select the keyboard you want? – techraf Dec 8 '16 at 6:49
  • 1
    @techraf, that's exactly what I was looking for. I looked in the keyboards system preferences panel, but missed the modifier keys button. Can you post your solution as an answer so I can accept/up-vote it? – Duncan C Dec 8 '16 at 14:39
  • I wasn't sure about Sierra, I will post an answer. – techraf Dec 8 '16 at 14:42
11

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

  • 1
    Doesn't seem to apply to Mojave with a bluetooth keyboard. Any ideas? – Sinjai Apr 30 '19 at 18:51
  • 1
    This worked for me as I had the same issue as @Sinjai apple.stackexchange.com/a/342863/358510 – sjakubowski Feb 15 '20 at 1:06
  • Yup, I ended up using Karabiner Elements too. Works great, though multi-key changes can be a pain. The good news is there is a marketplace of sorts where you can download those. It's been a lifesaver. – Sinjai Feb 15 '20 at 15:25
3

Note that some Logitech keyboards, like the K850 or Craft, allow swapping mode via pressing

  • fn+o for mac layout
  • fn+p for pc layout

Source: https://images-eu.ssl-images-amazon.com/images/I/B1dTBxzD3hS.pdf

2

Although the accepted answer should have worked, but in my case it didn't. I have the same Logitech USB Keyboard.

What worked for me?

  1. I Installed Karabiner-Elements
  2. Then i swaped the keys.

enter image description here

And within a second, everything was back to normal :) Hope it helps.

-4

Have you looked into using a keyboard remapping program such as Sharp Keys?

  • No, I'm not familiar with those. That will do what I need? – Duncan C Dec 8 '16 at 2:14
  • Most likely @DuncanC try it out and see where it takes you. – Jay Dec 8 '16 at 2:15
  • 1
    That's a Windows app. How should it work in OS X/macOS? – klanomath Dec 8 '16 at 3:38
  • Sharp Keys is a windows utility. Are there similar programs for Mac OS? – Duncan C Dec 8 '16 at 14:40
  • 1
    Karabiner is a similar app for OSX – Kano Mar 3 '19 at 9:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .