4 ms·
Except there's a 200ms delay on the Capslock key to prevent accidental activations. Because this is built into the hardware, it means that even if you remap, if
by gmurphy 14y ago
Except there's a 200ms delay on the Capslock key to prevent accidental activations. Because this is built into the hardware, it means that even if you remap, if you press the second key really quickly after the first, the character ends up getting inserted into your document. It's ridiculously annoying.
- lparry 14y agoSource? My capslock is a control key and I use it heavily so I feel like I'd notice a 200ms delay, which makes me doubt it's done in hardware
- decklin 14y agoOS X turns off the delay if you map that key to something else. The only workaround I've found in Linux is to force the LED on with setleds so that the hardware thinks it doesn't need to enable the delay.
- cscheid 14y agoThank you so much for this! I have looked for a workaround for the last four years, literally.
- chimeracoder 14y agoNot for me - I've had two Macbooks in the last two years for work, and both of them suffered this problem, which makes developing in Vim super annoying (I remap Caps_Lock to Esc).
- gmurphy 14y agoApple released a firmware fix that makes the Capslock key behave normally if it's remapped in OS X. However, I don't use OS X, and the keyboard doesn't send the event until after the delay (if I just tap the key quickly, Linux/Windows don't see anything), so I assume it's some combination of keyboard firmware + OS X. http://support.apple.com/kb/TS1578 http://support.apple.com/kb/TS1578 http://www.tow.com/2007/12/18/apple-wireless-keyboard-review/ http://www.tow.com/2007/12/18/apple-wireless-keyboard-review...