jtroo / kanata

Improve keyboard comfort and usability with advanced customization
GNU Lesser General Public License v3.0
3.21k stars 131 forks source link

Probably always worth delaying further input processing on chordv2 activations #1393

Closed jtroo closed 1 day ago

jtroo commented 2 days ago

https://github.com/jtroo/kanata/blob/71da952dfc3b2c5d325199bb7328156e1b656fe4/keyberon/src/layout.rs#L1262

jtroo commented 2 days ago

Reason:

In case of a completed pending chord with further presses possible for a larger chord, but a non participating key is pressed next, this delay may be needed for environments that suck at dealing with ordering events properly.

In other cases, delaying inputs has no negative consequences anyway.

jtroo commented 1 day ago

https://github.com/jtroo/kanata/commit/a3389980c538bc58a8333b69ff08cf0a03477297 https://github.com/jtroo/kanata/commit/7edd86812ed960054cc4d21f93332933100324e2