This commit is contained in:
schwarzgrau
2022-09-13 01:58:04 +02:00
parent 29674f6975
commit d19345a016
3 changed files with 24 additions and 20 deletions
@@ -10,7 +10,7 @@ endif # LEFT
if SHIELD_TOTEM_LEFT || SHIELD_TOTEM_RIGHT
if SHIELD_TOTEM
config ZMK_SPLIT
default y
@@ -1,5 +1,10 @@
config SHIELD_TOTEM
bool
config SHIELD_TOTEM_LEFT
def_bool $(shields_list_contains,totem_left)
select SHIELD_TOTEM
config SHIELD_TOTEM_RIGHT
def_bool $(shields_list_contains,totem_right)
select SHIELD_CLOG_V2
+7 -8
View File
@@ -12,7 +12,7 @@
zmk,matrix_transform = &default_transform;
};
default_transform: keymap_transform {
default_transform: keymap_transform_0 {
compatible = "zmk,matrix-transform";
columns = <10>;
rows = <4>;
@@ -25,17 +25,16 @@
};
kscan0: kscan {
kscan0: kscan_0 {
compatible = "zmk,kscan-gpio-matrix";
label = "KSCAN";
diode-direction = "col2row";
diode-direction = "row2col";
row-gpios
= <&xiao_d 1 GPIO_ACTIVE_HIGH>
, <&xiao_d 2 GPIO_ACTIVE_HIGH>
, <&xiao_d 3 GPIO_ACTIVE_HIGH>
, <&xiao_d 4 GPIO_ACTIVE_HIGH>
= <&xiao_d 10 GPIO_ACTIVE_HIGH>
, <&xiao_d 9 GPIO_ACTIVE_HIGH>
, <&xiao_d 8 GPIO_ACTIVE_HIGH>
, <&xiao_d 7 GPIO_ACTIVE_HIGH>
;
};
};