forked from kofal.net/zmk
feat(behaviors): &key_repeat behavior + tests.
* Add new `&key_repeat` behavior that captures and re-sends the most recently triggered keycode. Closes: #853
This commit is contained in:
committed by
Pete Johanson
parent
ac3c3170bd
commit
70bb7c9334
17
app/tests/key-repeat/behavior_keymap.dtsi
Normal file
17
app/tests/key-repeat/behavior_keymap.dtsi
Normal file
@@ -0,0 +1,17 @@
|
||||
#include <dt-bindings/zmk/keys.h>
|
||||
#include <behaviors.dtsi>
|
||||
#include <dt-bindings/zmk/kscan_mock.h>
|
||||
|
||||
/ {
|
||||
keymap {
|
||||
compatible = "zmk,keymap";
|
||||
label = "Default keymap";
|
||||
|
||||
default_layer {
|
||||
bindings = <
|
||||
&key_repeat &kp A
|
||||
&kp B &kp C_VOL_UP
|
||||
>;
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user