Skip to content

Commit 4bcfe0d

Browse files
committed
Add display names for layers
1 parent 779f893 commit 4bcfe0d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

config/boards/shields/dactyl_cc/dactyl_cc.keymap

+4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
// Backslash below minus = Equals
3131
// Swapped up and down arrows
3232
default_layer {
33+
display-name = "Default";
3334
bindings = <
3435
&kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS
3536
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp EQUAL
@@ -50,6 +51,7 @@
5051
// - Desktop navigation below the vim keys.
5152
// Momentarily toggled with LOWER (Caps Lock).
5253
lower_layer {
54+
display-name = "Lower";
5355
bindings = <
5456
&kp F12 &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11
5557
&sl ADJUST &none &none &none &none &none &none &kp LC(1) &kp LC(PG_UP) &kp LC(PG_DN) &kp LC(9) &none
@@ -65,6 +67,7 @@
6567
// Also remaps some keys to the left hand for convenience.
6668
// Toggled with LOWER (Caps) + ADJUST (Tab) -> RAISE (G)
6769
raise_layer {
70+
display-name = "Gaming";
6871
bindings = <
6972
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
7073
&kp TAB &kp T &kp Q &kp W &kp E &kp R &trans &trans &trans &trans &trans &trans
@@ -80,6 +83,7 @@
8083
// Adjust layer. Contains system controls and overlay toggles.
8184
// Toggled with LOWER (Caps) + ADJUST (Tab)
8285
adjust_layer {
86+
display-name = "Adjust";
8387
bindings = <
8488
&none &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
8589
&trans &out OUT_USB &out OUT_BLE &none &sys_reset &none &none &sys_reset &none &none &none &none

config/dactyl_cc.keymap

+5
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
compatible = "zmk,keymap";
2828

2929
default_layer {
30+
display-name = "Default";
3031
bindings = <
3132
&kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &tog RAISE
3233
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSLH
@@ -40,6 +41,7 @@
4041
};
4142

4243
mac_layer {
44+
display-name = "Mac";
4345
bindings = <
4446
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
4547
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
@@ -53,6 +55,7 @@
5355
};
5456

5557
lower_layer {
58+
display-name = "Lower";
5659
bindings = <
5760
&kp F12 &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11
5861
&sl ADJUST &none &none &none &none &none &none &kp LC(1) &kp LC(PG_UP) &kp LC(PG_DN) &kp LC(9) &none
@@ -65,6 +68,7 @@
6568
>; };
6669

6770
raise_layer {
71+
display-name = "Gaming";
6872
bindings = <
6973
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
7074
&kp TAB &kp T &kp Q &kp W &kp E &kp R &trans &trans &trans &trans &trans &trans
@@ -78,6 +82,7 @@
7882
};
7983

8084
adjust_layer {
85+
display-name = "Adjust";
8186
bindings = <
8287
&none &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
8388
&trans &out OUT_USB &out OUT_BLE &none &sys_reset &tog MAC &none &sys_reset &none &none &none &none

0 commit comments

Comments
 (0)