If you use keyd
, you can implement a basic version of this logic. Here is a minimal configuration example:
[ids]
*
[main]
d+space = oneshot(shift)
k+space = oneshot(shift)
By pairing this with one-shot modifiers, a quick chord tap modifies only the very next key. However, if you hold the thumb key while releasing the home row key, the modifier stays active. This is a huge productivity gain for capitalizing full words without the pinky-strain of a traditional Shift key.
The technical advantage here is the lack of complex timing calculations. As long as the key-down events happen within a tight window (usually around 50ms), the chord triggers. This makes the AI workflow of configuring your keyboard much more predictable.
There is one specific gotcha: the activation threshold must be lower than your fastest "key-roll" to or from the space-bar. If the window is too wide, you'll get accidental modifiers during normal typing. I actually used a custom tool to measure my WPM against these roll speeds to find the sweet spot.
A few takeaways from this setup:
Muscle Memory: If you already use HRMs, the finger placements are identical, making the transition seamless.Anchoring: Holding the modifier on the thumb allows you to use all other fingers across both hands freely.Hardware Efficiency: You get the benefits of dedicated thumb keys without actually needing a specialized ergonomic keyboard.
For anyone building a custom input method from scratch, this is a great alternative to standard layers.
Next Boffin: Adding an Architectural Layer to AI Agents →