naming things

This commit is contained in:
daniel
2023-08-03 21:42:07 +02:00
parent 6fd1ad51fd
commit 3d67a40954
15 changed files with 27 additions and 27 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -e set -e
west build -p -b nice_nano_v2 -- -DSHIELD="ownkb_left nice_view_adapter nice_view" -DZMK_CONFIG=/workspaces/zmk-config/config west build -p -b nice_nano_v2 -- -DSHIELD="corax56_left nice_view_adapter nice_view" -DZMK_CONFIG=/workspaces/zmk-config/config
mv /workspaces/zmk/app/build/zephyr/zmk.uf2 /workspaces/zmk-config/left.uf2 mv /workspaces/zmk/app/build/zephyr/zmk.uf2 /workspaces/zmk-config/left.uf2
west build -p -b nice_nano_v2 -- -DSHIELD="ownkb_right nice_view_adapter nice_view" -DZMK_CONFIG=/workspaces/zmk-config/config west build -p -b nice_nano_v2 -- -DSHIELD="corax56_right nice_view_adapter nice_view" -DZMK_CONFIG=/workspaces/zmk-config/config
mv /workspaces/zmk/app/build/zephyr/zmk.uf2 /workspaces/zmk-config/right.uf2 mv /workspaces/zmk/app/build/zephyr/zmk.uf2 /workspaces/zmk-config/right.uf2

View File

@@ -14,8 +14,8 @@
--- ---
include: include:
- board: nice_nano_v2 - board: nice_nano_v2
shield: ownkb_left nice_view_adapter nice_view shield: corax56_left nice_view_adapter nice_view
- board: nice_nano_v2 - board: nice_nano_v2
shield: ownkb_right nice_view_adapter nice_view shield: corax56_right nice_view_adapter nice_view
#- board: nice_nano_v2 #- board: nice_nano_v2
#shield: settings_reset #shield: settings_reset

View File

@@ -1,14 +1,14 @@
if SHIELD_OWNKB_LEFT if SHIELD_CORAX56_LEFT
config ZMK_KEYBOARD_NAME config ZMK_KEYBOARD_NAME
default "ownkb" default "Corax56"
config ZMK_SPLIT_ROLE_CENTRAL config ZMK_SPLIT_ROLE_CENTRAL
default y default y
endif endif
if SHIELD_OWNKB_LEFT || SHIELD_OWNKB_RIGHT if SHIELD_CORAX56_LEFT || SHIELD_CORAX56_RIGHT
config ZMK_SPLIT config ZMK_SPLIT
default y default y

View 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)

View 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

View File

@@ -1,4 +1,4 @@
#include "ownkb.dtsi" #include "corax56.dtsi"
&kscan0 { &kscan0 {
diode-direction = "col2row"; diode-direction = "col2row";

View File

@@ -1,4 +1,4 @@
#include "ownkb.dtsi" #include "corax56.dtsi"
&default_transform { &default_transform {
col-offset = <6>; col-offset = <6>;

View File

@@ -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)

View File

@@ -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

View File

@@ -2,7 +2,7 @@
CONFIG_EC11=y CONFIG_EC11=y
CONFIG_EC11_TRIGGER_GLOBAL_THREAD=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_IDLE_TIMEOUT=30000
#CONFIG_ZMK_SLEEP=y #CONFIG_ZMK_SLEEP=y