fix rows
This commit is contained in:
@@ -11,7 +11,7 @@ config ZMK_SPLIT_ROLE_CENTRAL
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if SHIELD_TOTEM
|
if SHIELD_TOTEM_LEFT || SHIELD_TOTEM_RIGHT
|
||||||
|
|
||||||
config ZMK_SPLIT
|
config ZMK_SPLIT
|
||||||
default y
|
default y
|
||||||
|
|||||||
@@ -1,13 +1,8 @@
|
|||||||
# Copyright (c) 2022 The ZMK Contributors
|
# Copyright (c) 2022 The ZMK Contributors
|
||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
config SHIELD_TOTEM
|
|
||||||
bool
|
|
||||||
|
|
||||||
config SHIELD_TOTEM_LEFT
|
config SHIELD_TOTEM_LEFT
|
||||||
def_bool $(shields_list_contains,totem_left)
|
def_bool $(shields_list_contains,totem_left)
|
||||||
select SHIELD_TOTEM
|
|
||||||
|
|
||||||
config SHIELD_TOTEM_RIGHT
|
config SHIELD_TOTEM_RIGHT
|
||||||
def_bool $(shields_list_contains,totem_right)
|
def_bool $(shields_list_contains,totem_right)
|
||||||
select SHIELD_TOTEM
|
|
||||||
|
|||||||
@@ -16,6 +16,10 @@
|
|||||||
compatible = "zmk,matrix-transform";
|
compatible = "zmk,matrix-transform";
|
||||||
columns = <10>;
|
columns = <10>;
|
||||||
rows = <4>;
|
rows = <4>;
|
||||||
|
// | SW01 | SW02 | SW03 | SW04 | SW05 | | SW05 | SW04 | SW03 | SW02 | SW01 |
|
||||||
|
// | SW06 | SW07 | SW08 | SW09 | SW10 | | SW10 | SW09 | SW08 | SW07 | SW06 |
|
||||||
|
// | SW16 | SW11 | SW12 | SW13 | SW14 | SW15 | | SW15 | SW14 | SW13 | SW12 | SW11 | SW16 |
|
||||||
|
// | SW17 | SW18 | SW19 | | SW19 | SW18 | SW17 |
|
||||||
map = <
|
map = <
|
||||||
RC(0,0) RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(0,6) RC(0,7) RC(0,8) RC(0,9)
|
RC(0,0) RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(0,6) RC(0,7) RC(0,8) RC(0,9)
|
||||||
RC(1,0) RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) RC(1,7) RC(1,8) RC(1,9)
|
RC(1,0) RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) RC(1,7) RC(1,8) RC(1,9)
|
||||||
@@ -28,6 +32,7 @@
|
|||||||
kscan0: kscan_0 {
|
kscan0: kscan_0 {
|
||||||
compatible = "zmk,kscan-gpio-matrix";
|
compatible = "zmk,kscan-gpio-matrix";
|
||||||
label = "KSCAN";
|
label = "KSCAN";
|
||||||
|
|
||||||
diode-direction = "col2row";
|
diode-direction = "col2row";
|
||||||
row-gpios
|
row-gpios
|
||||||
= <&xiao_d 0 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
|
= <&xiao_d 0 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
file_format: "1"
|
file_format: "1"
|
||||||
id: totem
|
id: totem
|
||||||
name: Totem
|
name: TOTEM
|
||||||
type: shield
|
type: shield
|
||||||
url: https://github.com/GEIGEIGEIST/TOTEM
|
url: https://github.com/GEIGEIGEIST/TOTEM
|
||||||
requires: [seeed_xiao]
|
requires: [seeeduino_xiao_ble]
|
||||||
features:
|
features:
|
||||||
- keys
|
- keys
|
||||||
siblings:
|
siblings:
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
CONFIG_ZMK_USB_LOGGING=y
|
CONFIG_ZMK_USB_LOGGING=n
|
||||||
Reference in New Issue
Block a user