Add timestamps to position and behavior events (#147)
* Add timestamps to position events and behaviors. - Take original event timestamps into consideration so nested tap-holds have proper timing. - Add position and timestamp to keycode state changed event so the one-shot behavior can properly identify other keypresses and timings. - Add timestamp to position events received from peripheral * reduce number of arguments to behaviors
This commit is contained in:
parent
fc6c01fd69
commit
d38740cebf
21 changed files with 248 additions and 122 deletions
4
app/tests/hold-tap/balanced/many-nested/events.patterns
Normal file
4
app/tests/hold-tap/balanced/many-nested/events.patterns
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
s/.*hid_listener_keycode/kp/p
|
||||
s/.*mo_keymap_binding/mo/p
|
||||
s/.*on_hold_tap_binding/ht_binding/p
|
||||
s/.*decide_hold_tap/ht_decide/p
|
||||
Loading…
Add table
Add a link
Reference in a new issue