fix(test): change the layout
This commit is contained in:
parent
6cd46b9504
commit
f02fa01e9a
14 changed files with 82 additions and 72 deletions
1
app/tests/keypress/kp-press-release/events.patterns
Normal file
1
app/tests/keypress/kp-press-release/events.patterns
Normal file
|
|
@ -0,0 +1 @@
|
|||
s/.*hid_listener_keycode_//p
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
pressed: usage_page 0x0c keycode 0xb5
|
||||
released: usage_page 0x0c keycode 0xb5
|
||||
8
app/tests/keypress/kp-press-release/native_posix.keymap
Normal file
8
app/tests/keypress/kp-press-release/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,1,300) ZMK_MOCK_PRESS(0,0,300) ZMK_MOCK_RELEASE(0,0,300) ZMK_MOCK_RELEASE(0,1,300)>;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue