1

For some strange reason when I try to type these keys:

  1. Grave = ` = keycode 50
  2. Or shift + Grave = tilde = ~ = I don't know the keycode

I get different chars, for the grave I get this = § and for the tilde I get this: ±

My keyboard is:

enter image description here

My PC is configured right as you can see in the image of the virtual kb:

enter image description here

I don't have a clue why! Someone how to solve this ?

klanomath
  • 66,391
  • 9
  • 130
  • 201
  • What Keyboard are you using? US? Spanish? Portuguese? Italian? French? In macOS Sierra, if you hold down a vowel or consonant key, a small pop-up window appears with all the available diacritical and other marks available. A number appears above the selections, and typing that number inserts that character with the diacritical mark. – IconDaemon Nov 22 '16 at 01:31
  • See http://apple.stackexchange.com/questions/106058/difference-between-us-qwerty-and-international-qwerty-apple-keyboards – Tetsujin Nov 22 '16 at 08:02

2 Answers2

2

It sounds like your machine thinks you have an ISO keyboard (which has an extra key to the left of z for grave/tilde) instead of ANSI. Some possible fixes are at

http://m10lmac.blogspot.com/2009/12/fixing-keyboard-type-problems.html

Tom Gewecke
  • 20,864
2

I just could resolve it using a third app: Karabiner

You need to download Karabiner Elements, this version supports the Sierra, if you go to the website, the Karabiner software doesn't.

After installing it, you need to look in the readme for this section:

Change section key § with accent key `

Apply the configuration and everything will work again!