mirror of
https://github.com/litruv/zmk-config.git
synced 2026-07-24 02:36:05 +10:00
seperate config
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
chosen {
|
||||
zmk,kscan = &mock_kscan;
|
||||
zmk,physical-layout = &josefadamcik_sofle_layout;
|
||||
zephyr,display = &mock_display;
|
||||
};
|
||||
|
||||
mock_kscan: mock_kscan_0 {
|
||||
@@ -19,28 +18,6 @@
|
||||
events = <0>;
|
||||
};
|
||||
|
||||
mock_display: mock_display_0 {
|
||||
compatible = "zmk,display-mock";
|
||||
width = <128>;
|
||||
height = <64>;
|
||||
};
|
||||
|
||||
left_encoder: left_encoder {
|
||||
compatible = "alps,ec11";
|
||||
a-gpios = <&pro_micro 21 GPIO_ACTIVE_HIGH>;
|
||||
b-gpios = <&pro_micro 20 GPIO_ACTIVE_HIGH>;
|
||||
steps = <80>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
right_encoder: right_encoder {
|
||||
compatible = "alps,ec11";
|
||||
a-gpios = <&pro_micro 20 GPIO_ACTIVE_HIGH>;
|
||||
b-gpios = <&pro_micro 21 GPIO_ACTIVE_HIGH>;
|
||||
steps = <80>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
default_transform: keymap_transform_0 {
|
||||
compatible = "zmk,matrix-transform";
|
||||
columns = <16>;
|
||||
@@ -53,10 +30,4 @@
|
||||
RC(4,0) RC(4,1) RC(4,2) RC(4,3) RC(4,4) RC(4,7) RC(4,8) RC(4,9) RC(4,10) RC(4,11)
|
||||
>;
|
||||
};
|
||||
|
||||
sensors: sensors {
|
||||
compatible = "zmk,keymap-sensors";
|
||||
sensors = <&left_encoder &right_encoder>;
|
||||
triggers-per-rotation = <20>;
|
||||
};
|
||||
};
|
||||
@@ -24,7 +24,6 @@ include:
|
||||
shield: sofle_right
|
||||
- board: nice_nano_v2
|
||||
shield: sofle_dongle
|
||||
cmake-args: -DCONFIG_FILE=sofle_dongle.conf
|
||||
- board: nice_nano_v2
|
||||
shield: settings_reset
|
||||
|
||||
cmake-args: -DCONFIG_ZMK_SPLIT=y -DCONFIG_ZMK_SPLIT_ROLE_CENTRAL=n
|
||||
18
config/sofle_dongle.conf
Normal file
18
config/sofle_dongle.conf
Normal file
@@ -0,0 +1,18 @@
|
||||
# Configuration for Sofle Dongle (Wireless Receiver)
|
||||
# Dongle doesn't have display or encoders
|
||||
|
||||
# Disable display for dongle
|
||||
CONFIG_ZMK_DISPLAY=n
|
||||
|
||||
# Disable encoder for dongle
|
||||
CONFIG_EC11=n
|
||||
CONFIG_EC11_TRIGGER_GLOBAL_THREAD=n
|
||||
|
||||
# Keep other settings
|
||||
CONFIG_ZMK_SLEEP=y
|
||||
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=3600000
|
||||
|
||||
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
|
||||
|
||||
# Disable WPM widget since no display
|
||||
CONFIG_ZMK_WIDGET_WPM_STATUS=n
|
||||
Reference in New Issue
Block a user