ergodox-firmware icon indicating copy to clipboard operation
ergodox-firmware copied to clipboard

sticky keys (originally: "dead key" layer?)

Open spamwax opened this issue 11 years ago • 3 comments

is it possible to add a feature or function so that dead-key is handled by keyboard rather than OS? This can be useful for non-English languages that use accents (like Ě) as well as other usages. So basically by pressing a key, a layer is pushed to the top of stack. the next key that's pressed when this special layer is active will produce the desired code and immediately pop the layer out of stack, eliminating the need to remove the layer manually.

spamwax avatar Mar 09 '13 03:03 spamwax

"deak keys", as in your example, are usually used to add diacritical marks to letters. i'm pretty sure that this can't be implemented in the firmware in a cross-platform way (or, if it can, the solution probably deals with the usb code, which i'm not very familiar with yet). but the general behavior is much like a sticky key - in this case, a sticky key that layer shifts - which is a feature others have requested, and i've been thinking about how to implement. after a few other things get done, and when i have time (probably during the next break from school...) i'll reevaluate this based on how i think it'll effect the other code and how hard it's likely to be. :)

benblazak avatar Mar 09 '13 05:03 benblazak

thanks for considering this. is the sticky feature that others have requested based on Accessibility for people with disability where it actually sticks until pressed again or as I described only holds for one key strike?

spamwax avatar Mar 09 '13 21:03 spamwax

well... "sticky keys" IIRC are typically marketed as an accessibility feature - but i'm pretty sure they only stick until after the next press of any key - at least, that's the behavior i've been thinking of when talking about them.

benblazak avatar Mar 10 '13 00:03 benblazak