dffdb2365e
Added cases for the two use cases I know of: 1. Rolling with key-repeat behavior 2. Rolling symbols that have the same base key, eg `+=`
14 lines
286 B
Plaintext
14 lines
286 B
Plaintext
#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,9000)
|
|
ZMK_MOCK_PRESS(0,0,30)
|
|
ZMK_MOCK_RELEASE(0,1,30)
|
|
ZMK_MOCK_RELEASE(0,0,3000)
|
|
>;
|
|
};
|