MacOS – Tilda becomes ± with bluetooth keyboard Keychron K2 in OSX

bluetoothkeyboardmacosmojave

I want to type ~/work in iterm2 but somehow it becomes ±/work. I am also unable type the inverted comma ` (the character shares the same key with tilda). It becomes §.

enter image description here

I am using a bluetooth keyboard (Keychron K2) with ANSI layout. I have already tried turning the keyboard on and off. I have also tried depressing the Fn key and other key combinations but there is no effect.

The keyboard has no such issue before.

The language is set to Australian

enter image description here

What is the likely cause of this issue? How can I fix it?

I am using a MacBookPro.

Edit:

  1. Upon more testings, this is normally what I see in the System Preference.

enter image description here

However the moment I depressed a key, I can see the layout switched

enter image description here

  1. The keyboard supports wired mode (see https://www.keychron.com/products/keychron-k2-wireless-mechanical-keyboard). If I connect the keyboard with the mac in wired mode, the problem went away

  2. Before this problem appears, I have uninstalled Karabiner-Elements. I used Karabiner-Elements because I need it for other mechanical keyboard.

Best Answer

It sounds like your machine may think the keyboard is ISO instead of ANSI. Some possible fixes for this problem can be found here.