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:
4
build.sh
4
build.sh
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
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 {
|
&kscan0 {
|
||||||
diode-direction = "col2row";
|
diode-direction = "col2row";
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#include "ownkb.dtsi"
|
#include "corax56.dtsi"
|
||||||
|
|
||||||
&default_transform {
|
&default_transform {
|
||||||
col-offset = <6>;
|
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=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
|
||||||
Reference in New Issue
Block a user