forked from GEIGEIGEIST/zmk-config-totem
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
5 changed files
with
42 additions
and
4 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,26 @@ | ||
# 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
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,15 @@ | ||
/* | ||
* 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> | ||
; | ||
}; |