blob: 109a92332a09418b90abb089224c057fb56a28d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
&mt {
tapping_term_ms = <420>;
};
#define DEFAULT 0
#define NUM_SYM 1
#define NAV 2
/ {
keymap {
compatible = "zmk,keymap";
default_layer {
bindings = <
&mt LALT Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &mt RALT P
&mt LSHFT A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &mt RSHFT L &kp BSPC
&mt LCTL Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &mt RCTL
&kp trans &trans &kp LGUI < NAV SPACE &mo NAV &kp RC(RS(V)) &trans &trans
>;
};
num_sym {
bindings = <
&kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0
&trans &trans &trans &trans &trans &trans &trans &trans &kp EQUAL &kp MINUS
&kp DEL &none &none &none &none &none &none &none &kp DOT
&bootloader &reset &none &trans &trans &kp RET &trans &kp FSLH
>;
};
nav {
bindings = <
&bt BT_CLR &bt BT_NXT &bt BT_PRV &none &none &none &none &kp UP &none &kp BSPC
&trans &trans &trans &trans &none &none &kp LEFT &kp DOWN &kp RIGHT &none
&none &none &none &none &none &none &none &none &none
&none &none &none &trans &trans &kp RET &trans &kp FSLH
>;
};
};
};
|