mirror of
https://github.com/dnlbauer/corax-zmk-config.git
synced 2026-09-10 21:55:29 +00:00
naming things
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
if SHIELD_OWNKB_LEFT
|
||||
if SHIELD_CORAX56_LEFT
|
||||
|
||||
config ZMK_KEYBOARD_NAME
|
||||
default "ownkb"
|
||||
default "Corax56"
|
||||
|
||||
config ZMK_SPLIT_ROLE_CENTRAL
|
||||
default y
|
||||
|
||||
endif
|
||||
|
||||
if SHIELD_OWNKB_LEFT || SHIELD_OWNKB_RIGHT
|
||||
if SHIELD_CORAX56_LEFT || SHIELD_CORAX56_RIGHT
|
||||
|
||||
config ZMK_SPLIT
|
||||
default y
|
||||
5
config/boards/shields/corax56/Kconfig.shield
Normal file
5
config/boards/shields/corax56/Kconfig.shield
Normal file
@@ -0,0 +1,5 @@
|
||||
config SHIELD_CORAX56_LEFT
|
||||
def_bool $(shields_list_contains,corax56_left)
|
||||
|
||||
config SHIELD_CORAX56_RIGHT
|
||||
def_bool $(shields_list_contains,corax56_right)
|
||||
12
config/boards/shields/corax56/corax56.zmk.yml
Normal file
12
config/boards/shields/corax56/corax56.zmk.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
file_format: "1"
|
||||
id: corax56
|
||||
name: Corax56
|
||||
type: shield
|
||||
url: https://github.com/dnlbauer/corax56-keyboard
|
||||
requires: [pro_micro]
|
||||
features:
|
||||
- keys
|
||||
- encoder
|
||||
siblings:
|
||||
- corax56_left
|
||||
- corax56_right
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "ownkb.dtsi"
|
||||
#include "corax56.dtsi"
|
||||
|
||||
&kscan0 {
|
||||
diode-direction = "col2row";
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "ownkb.dtsi"
|
||||
#include "corax56.dtsi"
|
||||
|
||||
&default_transform {
|
||||
col-offset = <6>;
|
||||
@@ -1,5 +0,0 @@
|
||||
config SHIELD_OWNKB_LEFT
|
||||
def_bool $(shields_list_contains,ownkb_left)
|
||||
|
||||
config SHIELD_OWNKB_RIGHT
|
||||
def_bool $(shields_list_contains,ownkb_right)
|
||||
@@ -1,12 +0,0 @@
|
||||
file_format: "1"
|
||||
id: ownkb
|
||||
name: ownkb
|
||||
type: shield
|
||||
url: https://github.com/dnlbauer/splitkeyboard
|
||||
requires: [pro_micro]
|
||||
features:
|
||||
- keys
|
||||
- encoder
|
||||
siblings:
|
||||
- ownkb_left
|
||||
- ownkb_right
|
||||
@@ -2,7 +2,7 @@
|
||||
CONFIG_EC11=y
|
||||
CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y
|
||||
|
||||
CONFIG_ZMK_KEYBOARD_NAME="DB OwnKB"
|
||||
CONFIG_ZMK_KEYBOARD_NAME="Corax56"
|
||||
|
||||
CONFIG_ZMK_IDLE_TIMEOUT=30000
|
||||
#CONFIG_ZMK_SLEEP=y
|
||||
Reference in New Issue
Block a user