The left control key and caps lock key have swapped functionality
I do not know what key combination I inadvertently hit, but at one point after using ⌃⌘Space to show the Character Viewer, the caps lock on my Matias Quiet Pro keyboard was activated (LED on). Pressing the caps lock key repeatedly failed to turn caps lock off. As the keys on mechanical keyboards may stick from time-to-time, so I made sure that the key was not sticking.
I then noticed that when I pressed the left control key, the caps lock was deactivated. More investigation led me to find out that the left control key is behaving as the caps lock key and the caps lock key is behaving like the control key. I was able to confirm this using the macOS Keyboard Viewer. The caps lock key registered as both control keys, the left control key toggled caps lock, and the right control key properly registered as a control key.
Searching the Internet, I found out that the modifier keys can have their functionality altered in the Keyboard system preferences. The problem is that the modifier keys are at their default settings.
I tried several other methods to resolve the issue including:
- Unplugging the keyboard and then plugging it back in.
- Restarting the computer.
- Shutting down and then rebooting.
- Resetting the NVRAM/PRAM.
The problem persisted after all of this. I then noticed that the Select keyboard in the Keyboard preferences was “USB Receiver” instead of “Matias Keyboard”, so I changed it to the proper keyboard. Selecting Matias Keyboard did not resolve the issue, and when I checked the Keyboard preferences for modifier keys, the Select keyboard reverted to USB Receiver.
Based on this, I figured something was conflicting with the RF receiver for my Logitech mouse. I unplugged the Logitech receiver an attached my trusty old wired Kensington Optical Pro mouse. The keyboard issue persisted, so the USB receiver was not the issue. As a last resort I tried this,
I set the Select keyboard to Matias Keyboard, and then swapped the settings for the caps lock and control keys as seen in the screenshot above. The result was the following:
- The caps lock key works correctly, despite being mapped to the control keys.
- The left control key works correctly, despite being mapped to the caps lock key.
- The right control key incorrectly toggles the cap lock, as set in the Keyboard preferences.
The modifier keys preferences now seem to stay on Matias Keyboard for the select keyboard.
As I am left-handed, this is better than nothing, but if anyone has any insight as to why this is occurring, your input would be greatly appreciated.
iMac Line (2012 and Later)