I switched from a Logitech keyboard to a Mac external keyboard on my macbook pro with Catalina MacOS. Every time I hit capitol M it types MZ. It could be the case that the keyboard is malfunctioning, but before I replace it I thought of trying to re-identify the keyboard and see if it helps.

MacOS user guide says this:

  1. On your Mac, choose Apple menu > System Preferences, then click Keyboard.
  2. Click Change Keyboard Type, then follow the onscreen instructions.

However I could not find Change Keyboard Type in that interface - see screenshot below. I also tried this sudo command but it didn't work.

How I could force a keyboard re-identification?

enter image description here

  • It’s hard to imagine any kind of wrong identification that would cause the problem you describe. – Tom Gewecke Jan 16 '20 at 23:31
  • Strange, maybe because it's an Apple keyboard? Have you tried deleting /Library/Preferences/com.apple.keyboardtype.plist and restarting? What about just adding another input source in the Input Sources tab and selecting it? – JMY1000 Jan 17 '20 at 8:27
  • Also I agree with @TomGewecke, this sounds like a hardware failure, not a software issue. Which Apple keyboard exactly is it you're using? – JMY1000 Jan 17 '20 at 8:27
  • I have had a case where an apple keyboard would behave exactly like that after coffee was poured over the keys... – X_841 Jan 17 '20 at 9:37
  • Can you try using this keyboard on any other machine? A hardware issue wouldn't disappear when changing system – X_841 Jan 17 '20 at 9:38

I had the issue where I could not find Change Keyboard Type in that interface after migrating to new Mac with Big Sur and wanted to force keyboard re-identification.

Deleting /Library/Preferences/com.apple.keyboardtype.plist (as suggested above by JMY1000) and rebooting solved it. After the reboot the system ran the keyboard setup again and I could set the correct type.

  • When you say "same issue", did you actually get two letters instead of one when you pressed the M (or any other) key?? If so, please put that specific info in your answer too. If not, you need to tell exactly what your problem was. – Tom Gewecke Mar 6 at 4:48
  • Oh, I'm sorry, no I did not get the two letters instead of one. I was referring to the ”I could not find Change Keyboard Type in that interface” part and how to solve the ”force keyboard re-identification” part. – Adrian B Mar 7 at 7:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .