fix(behaviors): make tap dances work on a combo
* Tap dance event handler goes after combos * Add test
This commit is contained in:
parent
d393247e15
commit
a61eac9139
5 changed files with 47 additions and 11 deletions
17
app/tests/tap-dance/6-combo-tap2/native_posix_64.keymap
Normal file
17
app/tests/tap-dance/6-combo-tap2/native_posix_64.keymap
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#include <dt-bindings/zmk/keys.h>
|
||||
#include <behaviors.dtsi>
|
||||
#include <dt-bindings/zmk/kscan_mock.h>
|
||||
#include "../behavior_keymap.dtsi"
|
||||
|
||||
&kscan {
|
||||
events = <
|
||||
ZMK_MOCK_PRESS(0,0,10)
|
||||
ZMK_MOCK_PRESS(0,1,10)
|
||||
ZMK_MOCK_RELEASE(0,0,10)
|
||||
ZMK_MOCK_RELEASE(0,1,10)
|
||||
ZMK_MOCK_PRESS(0,0,10)
|
||||
ZMK_MOCK_PRESS(0,1,10)
|
||||
ZMK_MOCK_RELEASE(0,0,10)
|
||||
ZMK_MOCK_RELEASE(0,1,200)
|
||||
>;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue