generated from keeb-it/zmk-config-template
-
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
16 changed files
with
110 additions
and
11 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,5 +1,14 @@ | ||
config SHIELD_HANA_LEFT | ||
def_bool $(shields_list_contains,hana_left) | ||
# Copyright (c) 2020 The ZMK Contributors | ||
# SPDX-License-Identifier: MIT | ||
|
||
config SHIELD_HANA_RIGHT | ||
def_bool $(shields_list_contains,hana_right) | ||
config SHIELD_HANA_CENTRAL_DONGLE | ||
def_bool $(shields_list_contains,hana_central_dongle) | ||
|
||
config SHIELD_HANA_CENTRAL_LEFT | ||
def_bool $(shields_list_contains,hana_central_left) | ||
|
||
config SHIELD_HANA_PERIPHERAL_LEFT | ||
def_bool $(shields_list_contains,hana_peripheral_left) | ||
|
||
config SHIELD_HANA_PERIPHERAL_RIGHT | ||
def_bool $(shields_list_contains,hana_peripheral_right) |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# better range | ||
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y | ||
|
||
# 3 profiles (n+2) | ||
CONFIG_BT_MAX_CONN=5 | ||
CONFIG_BT_MAX_PAIRED=5 | ||
|
||
# combo config | ||
CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=7 | ||
|
||
# dongle mode | ||
CONFIG_ZMK_SPLIT_BLE_CENTRAL_PERIPHERALS=2 | ||
|
||
# display | ||
CONFIG_ZMK_DISPLAY=y | ||
CONFIG_ZMK_IDLE_TIMEOUT=60000 | ||
CONFIG_BT_BAS=n | ||
CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y | ||
|
||
# Turn on logging, and set ZMK logging to debug output | ||
# CONFIG_ZMK_USB_LOGGING=y | ||
CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=8000 |
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,34 @@ | ||
#include "hana.dtsi" | ||
|
||
&xiao_i2c { | ||
status = "okay"; | ||
|
||
oled: ssd1306@3c { | ||
compatible = "solomon,ssd1306fb"; | ||
reg = <0x3c>; | ||
width = <128>; | ||
height = <64>; | ||
segment-offset = <0>; | ||
page-offset = <0>; | ||
display-offset = <0>; | ||
multiplex-ratio = <63>; | ||
segment-remap; | ||
com-invdir; | ||
inversion-on; | ||
prechargep = <0x22>; | ||
}; | ||
}; | ||
|
||
/ { | ||
chosen { | ||
zmk,kscan = &mock_kscan; | ||
zephyr,display = &oled; | ||
}; | ||
|
||
mock_kscan: kscan_0 { | ||
compatible = "zmk,kscan-mock"; | ||
columns = <0>; | ||
rows = <0>; | ||
events = <0>; | ||
}; | ||
}; |
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 @@ | ||
# better range | ||
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y | ||
|
||
# 3 profiles (n+1) | ||
CONFIG_BT_MAX_CONN=4 | ||
CONFIG_BT_MAX_PAIRED=4 | ||
|
||
# combo config | ||
CONFIG_ZMK_COMBO_MAX_COMBOS_PER_KEY=7 | ||
|
||
# battery reporting | ||
CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_FETCHING=y | ||
CONFIG_ZMK_SPLIT_BLE_CENTRAL_BATTERY_LEVEL_PROXY=y | ||
|
||
# Turn on logging, and set ZMK logging to debug output | ||
# CONFIG_ZMK_USB_LOGGING=y | ||
CONFIG_LOG_PROCESS_THREAD_STARTUP_DELAY_MS=8000 |
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 @@ | ||
#include "hana_left.dtsi" |
Empty file.
File renamed without changes.
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 @@ | ||
CONFIG_BT_CTLR_TX_PWR_PLUS_8=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 @@ | ||
#include "hana_left.dtsi" |
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 @@ | ||
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y |
File renamed without changes.
Empty file.
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