Nordic keyboard " < " key switched to " ' " I started my mac today at work and I got a message saying the mac could not recognize my keyboard. I then had to do a short wizard by typing the key next to shift.

When I then tried to use the standard &lt; key on my nordic extended mac keyboard, ' gets emitted. It seems like the two has switched places.

How can I make the keyboard behave as it is intended to?

This is the keyboard I have:


You can see this in the gif below; It starts out as how I want it to be, but if i press any key, the keyboard image in the settings page switch over to the strange layout.
I found this article suggesting me to delete a file 

running the following command, then doing a reboot followed by running the assistant again fixed the issue!

sudo rm /Library/Preferences/com.apple.keyboardtype.plist


This was also mentioned in the article @Tom Gewecke commented above, but I overlooked it when I did not find the mentioned file in finder. I suppose it might be a hidden file or something.