-
Notifications
You must be signed in to change notification settings - Fork 507
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
pedro.silveira
committed
Aug 8, 2024
1 parent
ee43a11
commit 5fd2e64
Showing
11 changed files
with
177 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
# Copyright (c) 2022 The ZMK Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
if SHIELD_TOTEM_LEFT | ||
if SHIELD_TOTEM_DONGLE | ||
|
||
config ZMK_KEYBOARD_NAME | ||
default "TOTEM" | ||
|
||
config ZMK_SPLIT_ROLE_CENTRAL | ||
default y | ||
|
||
config ZMK_USB | ||
default y | ||
|
||
endif | ||
|
||
if SHIELD_TOTEM_LEFT || SHIELD_TOTEM_RIGHT | ||
if SHIELD_TOTEM_LEFT || SHIELD_TOTEM_RIGHT || SHIELD_TOTEM_DONGLE | ||
|
||
config ZMK_SPLIT | ||
default y | ||
|
||
endif | ||
config ZMK_BLE | ||
default y | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ features: | |
siblings: | ||
- totem_left | ||
- totem_right | ||
- totem_dongle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
CONFIG_ZMK_SPLIT_BLE_CENTRAL_PERIPHERALS=2 | ||
|
||
CONFIG_ZMK_SLEEP=n | ||
# CONFIG_PM_DEVICE=n | ||
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000 | ||
CONFIG_ZMK_EXT_POWER=y | ||
|
||
CONFIG_ZMK_USB_LOGGING=y | ||
CONFIG_LOG_MODE_IMMEDIATE=n | ||
CONFIG_LOG_TIMESTAMP_64BIT=y | ||
CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=2000 | ||
CONFIG_ZMK_LOG_LEVEL_DBG=y | ||
CONFIG_KSCAN_LOG_LEVEL_INF=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* Copyright (c) 2022 The ZMK Contributors | ||
* | ||
* SPDX-License-Identifier: MIT | ||
*/ | ||
|
||
#include "totem.dtsi" | ||
|
||
&kscan0 { | ||
col-gpios | ||
= <&xiao_d 8 GPIO_ACTIVE_HIGH> | ||
, <&xiao_d 9 GPIO_ACTIVE_HIGH> | ||
, <&xiao_d 10 GPIO_ACTIVE_HIGH> | ||
, <&xiao_d 5 GPIO_ACTIVE_HIGH> | ||
, <&xiao_d 4 GPIO_ACTIVE_HIGH> | ||
; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"id": "totem", | ||
"name": "totem", | ||
"url": "https://github.com/GEIGEIGEIST/TOTEM", | ||
"layouts": { | ||
"LAYOUT": { | ||
"layout": [ | ||
{ "row": 0, "col": 1, "x": 0.776, "y": 1.519, "w": 1.059, "r": -10, "rx": 1.305, "ry": 2.019 }, | ||
{ "row": 0, "col": 2, "x": 1.964, "y": 0.605, "w": 1.059, "r": -4, "rx": 2.494, "ry": 1.105 }, | ||
{ "row": 0, "col": 3, "x": 3.175, "y": 0, "w": 1.059 }, | ||
{ "row": 0, "col": 4, "x": 4.234, "y": 0.496, "w": 1.059 }, | ||
{ "row": 0, "col": 5, "x": 5.292, "y": 0.656, "w": 1.059 }, | ||
{ "row": 0, "col": 7, "x": 8.682, "y": 0.656, "w": 1.059 }, | ||
{ "row": 0, "col": 8, "x": 9.741, "y": 0.496, "w": 1.059 }, | ||
{ "row": 0, "col": 9, "x": 10.8, "y": 0, "w": 1.059 }, | ||
{ "row": 0, "col": 10, "x": 12.007, "y": 0.606, "w": 1.059, "r": 4, "rx": 12.537, "ry": 1.106 }, | ||
{ "row": 0, "col": 11, "x": 13.199, "y": 1.52, "w": 1.059, "r": 10, "rx": 13.729, "ry": 2.02 }, | ||
|
||
{ "row": 1, "col": 1, "x": 0.95, "y": 2.504, "w": 1.059, "r": -10, "rx": 1.479, "ry": 3.004 }, | ||
{ "row": 1, "col": 2, "x": 2.033, "y": 1.602, "w": 1.059, "r": -4, "rx": 2.562, "ry": 2.102 }, | ||
{ "row": 1, "col": 3, "x": 3.175, "y": 1, "w": 1.059 }, | ||
{ "row": 1, "col": 4, "x": 4.234, "y": 1.496, "w": 1.059 }, | ||
{ "row": 1, "col": 5, "x": 5.292, "y": 1.656, "w": 1.059 }, | ||
{ "row": 1, "col": 7, "x": 8.682, "y": 1.661, "w": 1.059 }, | ||
{ "row": 1, "col": 8, "x": 9.741, "y": 1.496, "w": 1.059 }, | ||
{ "row": 1, "col": 9, "x": 10.8, "y": 1, "w": 1.059 }, | ||
{ "row": 1, "col": 10, "x": 11.937, "y": 1.603, "w": 1.059, "r": 4, "rx": 12.466, "ry": 2.103 }, | ||
{ "row": 1, "col": 11, "x": 13.026, "y": 2.505, "w": 1.059, "r": 10, "rx": 13.556, "ry": 3.005 }, | ||
|
||
{ "row": 2, "col": 0, "x": 0, "y": 3.231, "w": 1.059, "r": -10, "rx": 0.529, "ry": 3.731 }, | ||
{ "row": 2, "col": 1, "x": 1.124, "y": 3.489, "w": 1.059, "r": -10, "rx": 1.654, "ry": 3.989 }, | ||
{ "row": 2, "col": 2, "x": 2.103, "y": 2.6, "w": 1.059, "r": -4, "rx": 2.633, "ry": 3.1 }, | ||
{ "row": 2, "col": 3, "x": 3.175, "y": 2, "w": 1.059 }, | ||
{ "row": 2, "col": 4, "x": 4.234, "y": 2.496, "w": 1.059 }, | ||
{ "row": 2, "col": 5, "x": 5.292, "y": 2.656, "w": 1.059 }, | ||
{ "row": 2, "col": 7, "x": 8.682, "y": 2.661, "w": 1.059 }, | ||
{ "row": 2, "col": 8, "x": 9.741, "y": 2.496, "w": 1.059 }, | ||
{ "row": 2, "col": 9, "x": 10.8, "y": 2, "w": 1.059 }, | ||
{ "row": 2, "col": 10, "x": 11.868, "y": 2.601, "w": 1.059, "r": 4, "rx": 12.398, "ry": 3.101 }, | ||
{ "row": 2, "col": 11, "x": 12.852, "y": 3.49, "w": 1.059, "r": 10, "rx": 13.382, "ry": 3.99 }, | ||
{ "row": 2, "col": 12, "x": 13.973, "y": 3.231, "w": 1.059, "r": 10, "rx": 14.503, "ry": 3.731 }, | ||
|
||
{ "row": 3, "col": 3, "x": 3.938, "y": 3.714, "w": 1.059 }, | ||
{ "row": 3, "col": 4, "x": 5.11, "y": 3.878, "w": 1.059, "r": 15, "rx": 5.639, "ry": 4.378 }, | ||
{ "row": 3, "col": 5, "x": 6.195, "y": 4.329, "w": 1.059, "r": 30, "rx": 6.724, "ry": 4.829 }, | ||
{ "row": 3, "col": 7, "x": 7.781, "y": 4.329, "w": 1.059, "r": -30, "rx": 8.31, "ry": 4.829 }, | ||
{ "row": 3, "col": 8, "x": 8.866, "y": 3.878, "w": 1.059, "r": -15, "rx": 9.396, "ry": 4.378 }, | ||
{ "row": 3, "col": 9, "x": 10.037, "y": 3.714, "w": 1.059 } | ||
] | ||
} | ||
}, | ||
"sensors": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
CONFIG_ZMK_USB_LOGGING=n | ||
CONFIG_ZMK_USB_LOGGING=n | ||
|
||
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y |
Oops, something went wrong.