defchords with condition #762
Replies: 3 comments
-
I believe this can help: |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Seems like there are two feature requests here, neither of which are implemented.
Some complications with time are that, as an optimization, keyberon ticks don't happen when there is no state to process. There is also no timestamps for key history right now. Please do file feature requests for these |
Beta Was this translation helpful? Give feedback.
-
Hi,
Do you know if it’s currently possible to trigger a chord only if no key was pressed during the last 1000 ms or any other custom delay ?
Or trigger the chord only if a list of keys were not pressed before ? With
key-history
maybe.For instance, trigger this chord only if the previous pressed keys is NOT
E
. Or even more specific with: if the previous key isE
AND was pressed during the last 1000 ms, don’t trigger the chord.(defchords HomeRowBase $chords-timeout ( $L-3 $R-3 ) (fork del C-del (spc AltGr)) ;; del next word )
Beta Was this translation helpful? Give feedback.
All reactions