2020-11-12 08:09:08 +11:00
|
|
|
#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)
|
|
|
|
ZMK_MOCK_PRESS(1,0,10)
|
|
|
|
ZMK_MOCK_RELEASE(1,0,10)
|
2020-11-30 07:25:42 +11:00
|
|
|
|
|
|
|
/* repeat test to check if cleanup is done correctly */
|
|
|
|
ZMK_MOCK_PRESS(0,0,10)
|
|
|
|
ZMK_MOCK_RELEASE(0,0,10)
|
|
|
|
ZMK_MOCK_PRESS(1,0,10)
|
|
|
|
ZMK_MOCK_RELEASE(1,0,10)
|
2020-11-12 08:09:08 +11:00
|
|
|
>;
|
|
|
|
};
|