Wrong Keymap on Mac Keyboard - "<" and "^" are switched

I know this will not help you but maybe others (worked for me for german layout on external keyboard):

If "<" and "^" are switched on an external keyboard, the easiest way to "switch" them back is: if you are asked to press the button right to the left shift key (on german layout "<") you simply press the button it is switched with, afterwards everything will work as normal.


You can switch those around again using the Karabiner app or by creating a custom layout with Ukelele.

http://scripts.sil.org/ukelele

https://pqrs.org/osx/karabiner/