Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`/~ and §/± keys incorrectly swapped on Apple Keyboard (vendor 1452 product 545) #1426

Closed
gregrs-uk opened this issue Jun 4, 2018 · 15 comments
Labels

Comments

@gregrs-uk
Copy link

gregrs-uk commented Jun 4, 2018

Many thanks for releasing this software. I have a bug to report as follows:


System details

Karabiner-Elements 12.1.0
MacBook Pro running macOS Sierra 10.12.6
external Apple Keyboard (vendor 1452 product 545)
I use the British keyboard layout

The problem

The ` and § (shifted versions ~ and ± respectively) are incorrectly swapped around for my external Apple Keyboard (vendor 1452 product 545). This problem goes away if I quit Karabiner-Elements and the keys are correctly mapped for my MacBook's internal keyboard.

Other symptoms

If I open the Keyboard Viewer, the correct layout of these two keys is displayed. If I then type any key, the layout changes to incorrectly remove the §/± key, move the `/~ key to its place and widen Shift. The backslash key is also then displayed in the wrong place, above Return instead of to the left of it.

Before typing any key

before

After typing any key

after

@filipeamoreira
Copy link

filipeamoreira commented Jun 8, 2018

I'm having the exact same issue on an external Apple keyboard with vendor id: 1452 and product id: 592. I'm running Karabiner-Elements version 12.1.0.

@filipeamoreira
Copy link

I have managed to solve my issue by creating a profile for my external keyboard with these simple modifications:
39169279-827c9e30-4797-11e8-8ef4-1a812d105282

@gregrs-uk
Copy link
Author

Thanks for the workaround, @filipeamoreira. I had looked in that list but didn't think to try non_us_backslash.

Of course it would still be great if this could be fixed, though!

@liricooli
Copy link

I am experiencing something similar:

I have a macbook pro 2016 with mac osx seirra 10.12.6, running a us keyboard.
i'm using a kinesis freestyle with a british layout.

When unplugging the kinesis, the ~ does not work in my internal keyboard, and instead I get §.

Restarting the application does not solve this issue.

@liricooli
Copy link

liricooli commented Jun 13, 2018

My current workaround is when switching between the external and internal keyboards - i go to System Preferences -> Keyboard -> Change Keyboard Type" and set back the internal keyboard to an ANSI` type.

@kassi
Copy link

kassi commented Jun 27, 2018

For all interested here: I'm using KE 12.1.0 and have the same issue with my German layout.
I now kind of fixed it with the above simple modifications (grave -> non_us_backslash and opposite) but chose "Apple Keyboard" as the only target. By that the switch corrects external keyboard and leaves internal one intact. So no need for an extra profile.

@m67hoff
Copy link

m67hoff commented Aug 10, 2018

I have the same issue with my German Keyboard (BTW: quit karabiner and the key are ok - so its defnitly an issue ) - But the solution above works for me

@stale
Copy link

stale bot commented Oct 9, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 9, 2018
@stale stale bot closed this as completed Oct 16, 2018
@kopach
Copy link

kopach commented Dec 4, 2019

Hi @gregrs-uk. As for the issue reported, have you been using, maybe, this complex modification "Section sign (§) to Escape"? If yes – that modification didn't distinguish keyboard types before (I mean, whether it's Apple's one, or not).
This PR #589 should fix the issue for that complex modification. Now there are 2 rules available:

  1. For apple keyboard only
  2. for any keyboard

@gregrs-uk
Copy link
Author

I'm afraid I haven't been using that modification, @kopach. Thanks.

@zen
Copy link

zen commented Feb 28, 2020

Thi issue is closed, but apparently the problem exists. I have apple keyboard 1452/545 and this is quite annoying

@munkychop
Copy link

This is still an issue and should be reopened. I use a British internal keyboard (one simple key mod) and British external keyboard (no key mods). When unplugging the external keyboard, my internal keyboard has the ` ~ key and ± § key incorrectly swapped.

@oskarlh
Copy link

oskarlh commented Sep 8, 2020

@tekezo This is still an issue. I have a Swedish Apple Magic Keyboard with Numeric Keypad. The "<" key and the "§" key are swapped unless I make the mappings filipeamoreira suggested. Vendor ID 76 Product ID 620.

@expelledboy
Copy link

expelledboy commented Sep 11, 2021

Still an issue on my brand new Apple Magic Keyboard, and the fix above does not work.

@expelledboy
Copy link

expelledboy commented Sep 11, 2021

The key registers as grave_accent_and_tilde key in Event Viewer however the character that is displayed in the text input box is still this § key.

If the "Simple modification" (non_us_backslash to grave_accent_and_tilde) mapping does not work for you try the following:

  • System Preferences => Keyboard
  • Press "Change Keyboard Type..." Button
  • Select ANSI (United States and others) option at end of Wizard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

10 participants