Skip to content

Commit 38a7754

Browse files
authored
add reset and boot loader key codes to bt layer (on thumb keys) (#19)
1 parent d8490f4 commit 38a7754

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

config/ardux.dtsi

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,22 @@
392392
TRAILING_NONES
393393
>;
394394
};
395+
#if defined ARDUX_BIG
396+
bt {
397+
display-name = "BT";
398+
bindings = <
399+
BIG_LEADING_NONES
400+
&none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 ARDUX_BT_TOP
401+
BIG_BETWEEN_ROW_ONE_TWO_NONES
402+
&none &bt BT_SEL 3 &bt BT_SEL 4 &bt BT_SEL 5 ARDUX_BT_BOTTOM
403+
BIG_BETWEEN_ROW_TWO_THREE_NONES
404+
&none &none &none &none &none
405+
BIG_BETWEEN_ROW_THREE_THUMBS
406+
&none &sys_reset &bootloader
407+
BIG_TRAILING_NONES
408+
>;
409+
};
410+
#else
395411
bt {
396412
display-name = "BT";
397413
bindings = <
@@ -402,6 +418,7 @@
402418
TRAILING_NONES
403419
>;
404420
};
421+
#endif
405422
mouse {
406423
display-name = "Mouse";
407424
bindings = <
@@ -525,6 +542,22 @@
525542
TRAILING_NONES
526543
>;
527544
};
545+
#if defined ARDUX_BIG
546+
bt {
547+
display-name = "BT";
548+
bindings = <
549+
BIG_LEADING_NONES
550+
ARDUX_BT_TOP &bt BT_SEL 2 &bt BT_SEL 1 &bt BT_SEL 0 &none
551+
BIG_BETWEEN_ROW_ONE_TWO_NONES
552+
ARDUX_BT_BOTTOM &bt BT_SEL 5 &bt BT_SEL 4 &bt BT_SEL 3 &none
553+
BIG_BETWEEN_ROW_TWO_THREE_NONES
554+
&none &none &none &none &none
555+
BIG_BETWEEN_ROW_THREE_THUMBS
556+
&bootloader &sys_reset &none
557+
BIG_TRAILING_NONES
558+
>;
559+
};
560+
#else
528561
bt {
529562
display-name = "BT";
530563
bindings = <
@@ -535,6 +568,7 @@
535568
TRAILING_NONES
536569
>;
537570
};
571+
#endif
538572
mouse {
539573
display-name = "Mouse";
540574
bindings = <

0 commit comments

Comments
 (0)