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

Hold letter key for another key entirely

Open pixelpax opened this issue 4 years ago • 1 comments

I'd like to hold the 'h' key for escape. Is there a way to do this?

pixelpax avatar May 12 '20 05:05 pixelpax

probably... but it would probably be involved. i forget if the timer functions are easily accessible in the files where the key press and release functions are defined -- but that's what you'd have to do: set a timer (or get the current time somehow) on press, and then trigger the correct actions on release (or after the timer expired).

sorry i can't be more help, it's been a while since i've looked at the code :-)

benblazak avatar May 12 '20 05:05 benblazak