File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 15
15
#define FACTORY 0
16
16
#define OVERLAY 1
17
17
#define QWERTY 2
18
+ #define KEEBCTL 3
19
+
20
+ #include "glam-bt-kbdctl.dtsi"
18
21
19
22
/ {
20
23
keymap {
@@ -64,6 +67,21 @@ keymap {
64
67
>;
65
68
display-name = "QWERTY";
66
69
};
70
+
71
+ keyboard_control_layer {
72
+ bindings = <
73
+ // ,-----------------------------. ,-----------------------------.
74
+ // | | | | | | | | | | | |
75
+ // | | | | | | | | | | | |
76
+ // | BT1 | BT2 | BT3 | BT4 | BT5 | |ClCur| Clr--[ + ]--All | |
77
+ // `-----------------| | | | |Base |-----------------'
78
+ &none &none &none &none &none &none &none &none &none &none
79
+ &none &none &none &none &none &none &none &none &none &none
80
+ &btp 0 &btp 1 &btp 2 &btp 3 &btp 4 &btcc &none &none &none &none
81
+ &none &none &none &tog KEEBCTL
82
+ >;
83
+ display-name = "KBDCTL";
84
+ };
67
85
}; // end keymap
68
86
69
87
combos {
@@ -73,6 +91,20 @@ combos {
73
91
74
92
#include "glam-sym-nav-num-combos.dtsi"
75
93
94
+ // All four thumb keys for keyboard control layer.
95
+ combo_thumbs_keyboard_control {
96
+ timeout-ms = <50>;
97
+ key-positions = <LH1 LH0 RH0 RH1>;
98
+ bindings = <&tog KEEBCTL>;
99
+ };
100
+ // Right hand index and ring fingers for BT_CLR_ALL but only on KEEBCTL layer.
101
+ combo_bt_clear_all {
102
+ timeout-ms = <50>;
103
+ key-positions = <RB1 RB3>;
104
+ bindings = <&btclall>;
105
+ layers = <KEEBCTL>;
106
+ };
107
+
76
108
}; // end combos
77
109
78
110
behaviors {
You can’t perform that action at this time.
0 commit comments