feat(test): add tests for none behavior
This commit is contained in:
parent
abf8b5abfa
commit
3d325ccb84
7 changed files with 40 additions and 0 deletions
1
app/tests/none/normal/events.patterns
Normal file
1
app/tests/none/normal/events.patterns
Normal file
|
|
@ -0,0 +1 @@
|
|||
s/.*hid_listener_keycode/kp/p
|
||||
0
app/tests/none/normal/keycode_events.snapshot
Normal file
0
app/tests/none/normal/keycode_events.snapshot
Normal file
8
app/tests/none/normal/native_posix.keymap
Normal file
8
app/tests/none/normal/native_posix.keymap
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#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_RELEASE(0,0,10)>;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue