generated from zmkfirmware/unified-zmk-config-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrev57lp.keymap
66 lines (57 loc) · 3.09 KB
/
rev57lp.keymap
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*
* Copyright (c) 2022 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#include <behaviors.dtsi>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/outputs.h>
#define BASE 0
#define FNAV 1
#define BT 2
/ {
combos {
compatible = "zmk,combos";
combo_BOOT {
timeout-ms = <50>;
key-positions = <4 5 6 7>;
bindings = <&bootloader>;
};
combo_BT {
timeout-ms = <50>;
key-positions = <49 56>;
bindings = <&mo BT>;
};
};
keymap {
compatible = "zmk,keymap";
base {
bindings = <
&kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp ENTER
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBRC
&kp LSHIFT &kp A &kp S &kp D &kp F &kp G &kp LGUI &kp H &kp J &kp K &kp L &kp UP_ARROW &kp DOUBLE_QUOTES
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp LEFT &kp DOWN_ARROW &kp RIGHT
&kp LCTRL &kp SPACE &kp LALT &mo 1 &kp TILDE &kp TILDE &kp RGUI &kp BACKSPACE
>;
};
fun_nav {
bindings = <
&kp TILDE &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &kp DEL
&kp GRAVE &kp F1 &kp F2 &kp F3 &kp F4 &kp LBRC &kp RBRC &kp HOME &kp UP &kp END &kp PG_UP &kp DQT
&trans &kp F5 &kp F6 &kp F7 &kp F8 &kp LPAR &trans &kp RPAR &kp LEFT &kp DOWN &kp RIGHT &kp PG_DN &kp INS
&trans &kp F9 &kp F10 &kp F11 &kp F12 &kp LBKT &kp RBKT &kp K_APP &kp PSCRN &kp SLCK &kp PAUSE_BREAK &trans
&none &trans &trans &kp C_VOL_DN &kp C_VOL_UP &trans &kp C_MUTE &none
>;
};
blutut {
bindings = <
&out OUT_TOG &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &bt BT_CLR &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none
>;
};
};
};