Tilda becomes ± with bluetooth keyboard Keychron K2 in OSX 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 §.



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



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

I am using a MacBookPro.

Edit:


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




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




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
Before this problem appears, I have uninstalled Karabiner-Elements. I used Karabiner-Elements because I need it for other mechanical keyboard.
It sounds like your machine may think the keyboard is ISO instead of ANSI.  Some possible fixes for this problem can be found here.