Answered on : 2024-01-24
This issue may occur due to a keyboard mapping problem where the ALT and CMD keys are swapped, causing confusion with common shortcuts [1] [2]. To resolve this issue, you can try the following steps:
1. Restart the keyboard and reconnect it to your Mac [1] [2].
2. If the issue persists, go to "System Preferences" > "Keyboard" > "Modifier Keys" and modify the mapping for the ALT and CMD keys [5].
3. If the problem still persists, you can try resetting the modifier keys to their default settings by going to "System Preferences" > "Keyboard" > "Reset to Defaults" [5].
By following these steps, you should be able to resolve the issue of the ALT key changing to CMD after restarting your Mac keyboard.
References:
[1] Mac电脑的alt和cmd键互换的奇怪现象原创 - https://blog.csdn.net/weixin_44325082/article/details/120429351
[2] mac的cmd和option作用反了原创 - https://blog.csdn.net/weixin_46727994/article/details/119238151
[5] Mac电脑的alt和cmd键互换的奇怪现象? - https://www.zhihu.com/question/450957142