aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/tests/hold-tap/tap-preferred/7-positional/4a-dn-tgdn-timer-tgup-up/native_posix.keymap
blob: 94d9a923cc251e330863fcda7cccf78edbd320da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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,200)
		ZMK_MOCK_PRESS(1,0,200) // trigger key
		/* timer fires */ 
		ZMK_MOCK_RELEASE(1,0,10)
		ZMK_MOCK_RELEASE(0,0,10)
	>;
};