Hacker News new | ask | show | jobs
by kimolas 3503 days ago
I'm a long-time Prompt user, and I just purchased Blink on the App Store after seeing that mapping Caps Lock to CTRL is supported. It does seem to work, although not really as consistently as I'd like it to. I'm using an iPad Air 2 and the Microsoft Universal Foldable Keyboard, for reference.

When I try to use, say, CTRL+V in Vim to do a block selection, it will assume I pressed V by itself unless I hold Caps Lock for about half a second before pressing V. Furthermore, it will toggle the Caps Lock light on my keyboard (which I understand can't be fixed), which is a problem because if I exit Blink, the Caps Lock key is now reversed if I exited Blink while the Caps Lock key was still active.

Perhaps there's a way to track if Caps Lock had been pressed an even or odd number of times, and send some signal back to the OS to correct this behavior?

I'm not sure what needs to be fixed in order to get the Caps Lock functionality to work without a delay.

1 comments

We are aware of the "track Caps Lock" problem. iOS actually has an option to disable caps on the accessibility but still doesn't work with external keyboards. Hopefully soon.

Thanks for the heads up about the delay. I have only see that problem once with the iPad when I had another combination, do you have any other combination like caps as ESC? I definitely haven't seen that with other keys, and I'm really picky about my Cmd as Ctrl on Emacs :D

I think I've figured out why I'm seeing a delay. It must be related to the Caps Lock delay that some keyboards have, wherein the keyboard will prevent Caps Lock from engaging (or even sending any signal at all to an app, apparently) unless the key has been engaged for more than just a tap.

It looks like the only way to fix this would be to buy a keyboard without this feature.