17

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?

0

4 Answers 4

22

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

4
  • 2
    Doesn't seem to apply to Mojave with a bluetooth keyboard. Any ideas?
    – Sinjai
    Apr 30, 2019 at 18:51
  • 1
    This worked for me as I had the same issue as @Sinjai apple.stackexchange.com/a/342863/358510 Feb 15, 2020 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, 2020 at 15:25
  • The problem with this solution is that it switches the keys on the BT keyboard as well as on the laptop, so that when you go mobile the keys are incorrectly switched. If you always use the BT keyboard this may be fine, but if you mix between that and the laptop keyboard then it will be frustrating. The next answer below about switching modes on the Logitech keyboards works better for the mixed mode.
    – jacob-ogre
    Jan 5, 2022 at 12:34
15

Note that some Logitech keyboards, like the K850 or Craft, allow swapping mode via pressing and holding for 2-3 seconds.

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

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

2
  • 2
    Work on Ergo K860! Tip: it's a LONG PRESS, you have to hold the combination for 2-3 seconds.
    – Stan
    Sep 11, 2021 at 8:17
  • 1
    I can confirm that this works on Logitech Craft. For some reason, the layout switched to PC layout after upgrading to macOS Moneterey.
    – binford
    Dec 10, 2021 at 9:37
6

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?

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

You must log in to answer this question.

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