zmk/app/tests/caps-word/deactivate-by-second-press/native_posix_64.keymap

17 lines
398 B
Plaintext
Raw Permalink Normal View History

#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,10000)
ZMK_MOCK_RELEASE(0,0,10)
ZMK_MOCK_PRESS(0,1,30)
ZMK_MOCK_RELEASE(0,1,30)
ZMK_MOCK_PRESS(0,0,10)
ZMK_MOCK_RELEASE(0,0,30)
ZMK_MOCK_PRESS(0,1,30)
ZMK_MOCK_RELEASE(0,1,1000)
>;
};