I would like my right Ctrl key to behave like the Caps key. When I press it, it is as if I hold the left Ctrl key. And when I press it again, it release the lock.
Is there a way to do that, but only for the right Ctrl key (not the left one)?
You can use Autohotkey to do this. A basic toggle script:
You can replace the
If you don't wish to install Autohotkey, here's a standalone executable of the above I generated using Autohotkey's compile function. Use it in the same way the
To block the left control key while control is locked:
Yea... it got complicated. To make holding the key work as usual, it's necessary to hook and pass on both the down and up events. The non-blocking modifier (
It probably would have been easier to just reset the lock state when the left control key is released. Ah well.