Skip to content

Commit 7854450

Browse files
committed
add bl layer and disable logs
1 parent 92b3303 commit 7854450

File tree

2 files changed

+22
-17
lines changed

2 files changed

+22
-17
lines changed

build.yaml

-16
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,11 @@
1515
---
1616
include:
1717

18-
# Hillside 46
19-
# Comment out below if you do not have this board, to save build time
20-
# - board: nice_nano_v2
21-
# shield: hillside46_left
22-
# - board: nice_nano_v2
23-
# shield: hillside46_right
24-
25-
# Hillside 48
26-
# Comment out below if you do not have this board, to save build time
27-
# - board: nice_nano_v2
28-
# shield: hillside48_left
29-
# - board: nice_nano_v2
30-
# shield: hillside48_right
31-
3218
# Hillside 52
3319
# Comment out below if you do not have this board, to save build time
3420
- board: nice_nano_v2
3521
shield: hillside52_right
36-
snippet: zmk-usb-logging
3722
- board: nice_nano_v2
3823
shield: hillside52_left
39-
snippet: zmk-usb-logging
4024
- board: nice_nano_v2
4125
shield: settings_reset

config/hillside52.keymap

+22-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#define SYM_L 2
1717
#define FN_L 3
1818
#define ADJ_L 4
19+
#define BT_L 5
1920

2021
#define Undo LC(Z)
2122
#define Cut LC(X)
@@ -59,7 +60,7 @@
5960
bindings = <
6061
&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
6162
&kp TAB &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp ENTER
62-
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &none &none &kp N &kp M &kp COMMA &kp DOT &kp SLASH &kp RSHFT
63+
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &none &mo BT_L &kp N &kp M &kp COMMA &kp DOT &kp SLASH &kp RSHFT
6364
&kp LCTRL &kp LGUI &kp LALT &mo ADJ_L &none &kp SPACE &mo NUM_NAV_L &mo SYM_L &mo FN_L &kp DEL &mo ADJ_L &kp RALT &kp RGUI &kp LCTRL
6465
>;
6566

@@ -140,4 +141,24 @@
140141
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>;
141142
};
142143
};
144+
145+
146+
bt_layer {
147+
/* BLUETOOTH
148+
* -------------------------------------------------------------------------------------------------------------------------------------
149+
* |DKNKT 5|DKNKT 6|DKNKT 7|DKNKT 8|DKNKT 9|DKNKT10|-----------------------------------|DKNKT11|DKNKT12|DKNKT13|DKNKT14|DKNKT15|DKNKT16|
150+
* | BT 5 | BT 6 | BT 7 | BT 8 | BT 9 | BT 10 |-----------------------------------| BT 11 | BT 12 | BT 13 | BT 14 | BT 15 | BT 16 |
151+
* | | | | | | | |-------------------| | | | | | | |
152+
* |-------| |-------| | | | | |---| | | |-------| |-------| | |
153+
*/
154+
bindings = <
155+
&bt BT_DISC 5 &bt BT_DISC 6 &bt BT_DISC 7 &bt BT_DISC 8 &bt BT_DISC 9 &bt BT_DISC 10 &bt BT_DISC 11 &bt BT_DISC 12 &bt BT_DISC 13 &bt BT_DISC 14 &bt BT_DISC 15 &bt BT_DISC 16
156+
&bt BT_SEL 5 &bt BT_SEL 6 &bt BT_SEL 7 &bt BT_SEL 8 &bt BT_SEL 9 &bt BT_SEL 10 &bt BT_SEL 11 &bt BT_SEL 12 &bt BT_SEL 13 &bt BT_SEL 14 &bt BT_SEL 15 &bt BT_SEL 16
157+
&kp B &kp L &kp U &none &none &none &none &none &kp B &kp L &kp U &none &none &none
158+
&none &none &none &none &none &none &none &none &none &none &none &none &none &none
159+
>;
160+
161+
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>;
162+
};
163+
};
143164
};

0 commit comments

Comments
 (0)