5 ms·
On a different programmable keyboard, with a more traditional staggered layout (the ErgoDox has a columnar layout where where keys are aligned horizontally) I u
by AlbertoGP 4y ago
On a different programmable keyboard, with a more traditional staggered layout (the ErgoDox has a columnar layout where where keys are aligned horizontally) I used that same function but on Caps-Lock, left of A: press it combined with another key, it is CTRL; press it alone, it is ESC.
Programmable keyboards offer so many improvements, it’s incredible.
Some of that can be done with xinput on Linux, but as far as I know the different-key-when-held functionality is not available there. [Edit:
yewenjie’s comment mentions keyd which apparently does have that feature! https://news.ycombinator.com/item?id=31146572 https://news.ycombinator.com/item?id=31146572] While I waited for this one to be delivered (was a crowdfunding campaign) I used that to simulate some of its features and surprised myself when I found out that I stopped using the dedicated cursor keys even if all my keyboards had them.
I had never thought of using J for CTRL. You lose the ability to enter Line Feed (Return) with CTRL+J which I do use from time to time, but it sounds intriguing. I might try it out one of these days.
- goosedragons 4y agoYou already mentioned Keyd but Kmonad also has that feature. Kmonad seems a bit more powerful but is a bit harder to configure than Keyd especially for something simple. Kmonad is also cross platform. The cool thing about them is that they work everywhere and not just in Wayland or X11 so it all just works in TTYs too.
- pfortuny 4y agoI chose j just because I could. Why do you lose ctrl-j? There is another ctrl on the left side of the keyboard. Uh?
- AlbertoGP 4y ago> Why do you lose ctrl-j? There is another ctrl on the left side of the keyboard. Uh? :-D Yes indeed, you are absolutely right. I had assumed that those keys would be used for something else but nothing stops you from having several CTRL keys.