Compare commits

..
86 Commits
Author SHA1 Message Date
keymap-editor[bot] 430ab4b5c8 Updated sofle.keymap 2026-05-16 01:16:35 +00:00
keymap-editor[bot] c57afc1254 Updated sofle.keymap 2026-05-16 00:55:14 +00:00
keymap-editor[bot] 8222b11ed6 Updated sofle.keymap 2026-05-16 00:45:53 +00:00
litruv fc066cdb07 Update build.yaml 2026-05-16 10:18:02 +10:00
keymap-editor[bot] 6dbd5d93c1 Updated sofle.keymap 2026-05-16 00:10:12 +00:00
keymap-editor[bot] 680edec9a8 layer tap for left alt 2026-05-16 00:05:25 +00:00
litruv 1adf0c071e ec11 encoders 2025-09-30 23:05:58 +10:00
keymap-editor[bot] 354fd0d231 wrong layer lmao 2025-09-17 23:57:54 +00:00
keymap-editor[bot] c21cd51cd2 studio unlock 2025-09-17 23:51:23 +00:00
litruv 38cf1ad9ff snippet: studio-rpc-usb-uart 2025-09-18 09:44:07 +10:00
litruv 7074d58f3c zmk studio config file 2025-09-18 09:36:46 +10:00
litruv 11c088a9b0 zmk studio 2025-09-18 09:28:52 +10:00
litruv 0fe919019e zmk studio 2025-09-18 09:25:45 +10:00
litruv ef984843a6 cmake args 2025-09-18 09:08:16 +10:00
litruv 6883bbb4b6 feat: add configuration for display and encoders in sofle.conf 2025-09-18 08:48:29 +10:00
litruv 879ed44917 refactor: reorganize configuration files and remove unused settings 2025-09-18 08:48:15 +10:00
litruv 00cf71385f seperate config 2025-09-18 08:44:22 +10:00
litruv 555e456b06 added mock display 2025-09-18 08:37:33 +10:00
litruv 6c2a68f5fe local include instead 2025-09-18 08:31:23 +10:00
litruv ed86e7789c moved to dtsi file in the overlay 2025-09-18 08:29:17 +10:00
litruv 51d1475c2d included dtsi 2025-09-18 08:22:49 +10:00
litruv 326a370f8d physical-layout 2025-09-18 08:15:11 +10:00
litruv 9a2e928d4e misread var name 2025-09-18 08:05:41 +10:00
litruv 6b698532a8 renamed my_keyboard to sofle 2025-09-18 07:53:58 +10:00
litruv 5a967b2243 reread docs 2025-09-18 07:50:22 +10:00
litruv 099ea256d6 added dongle 2025-09-18 07:39:54 +10:00
litruv 95a8ed3636 updated to more modern format 2025-09-18 06:57:44 +10:00
keymap-editor[bot] 681d125ed5 Added opposite Fkeys on fn+opposite+esc-5 2025-09-10 17:29:33 +00:00
keymap-editor[bot] a6536b6354 stop accidentally pressing next window 2025-07-03 20:54:05 +00:00
keymap-editor[bot] 50a1274143 up/down 2025-07-03 20:50:12 +00:00
keymap-editor[bot] 1400bbfae7 backspace move 2024-09-16 16:24:24 +00:00
keymap-editor[bot] e2e3a3917b added virtual desktop shortcuts 2024-09-16 16:23:27 +00:00
litruv 9f2109745a Create temp.yaml 2024-09-15 10:29:36 +10:00
keymap-editor[bot] afc790c025 change fn+space to combo for more reliability 2024-09-05 11:03:07 +00:00
keymap-editor[bot] 6ab9362b6b make delete on left more useful 2024-09-04 10:16:06 +00:00
keymap-editor[bot] a3fff87e2f back to modtap, graveesc is kinda bad 2024-08-28 22:34:14 +00:00
keymap-editor[bot] 2e6d218b8a ad testing 2024-07-27 00:20:48 +00:00
keymap-editor[bot] 656f9e95f8 apparently grave escape is a thing 2024-07-27 00:14:27 +00:00
keymap-editor[bot] 13f8b41b9c naming conventions 2024-07-26 23:57:49 +00:00
keymap-editor[bot] 72b6fd961a input prioroty for A/D 2024-07-26 23:55:45 +00:00
keymap-editor[bot] e17a24cf35 macro testing capabilities 2024-07-26 23:44:25 +00:00
keymap-editor[bot] 2f3d490c4c reversed volume direction 2024-07-25 22:23:17 +00:00
keymap-editor[bot] 2178cd3268 Updated sofle.keymap 2024-07-25 22:17:14 +00:00
keymap-editor[bot] 705b0d76ec Wrong Volume? 2024-07-25 20:55:08 +00:00
keymap-editor[bot] 0a6133fee7 volume 2024-07-25 20:45:08 +00:00
keymap-editor[bot] cc62241f4e added backspace on left 2024-07-22 23:46:32 +00:00
keymap-editor[bot] 68630f2912 didn't like the hold to number 2024-07-22 23:30:34 +00:00
keymap-editor[bot] a1f5a87b82 reversed 😅 2024-07-19 22:01:05 +00:00
keymap-editor[bot] 7c40fbd62a added modtaps to numbers 2024-07-19 21:51:53 +00:00
keymap-editor[bot] b1bc8abe7b escape is not esc? 2024-07-13 14:17:13 +00:00
keymap-editor[bot] 97b72f313d added backslash 2024-07-02 10:03:50 +00:00
litruv 919a35fc9a extended sleep time to 1h, keep hitting it on normal use 2024-06-28 09:11:30 +10:00
keymap-editor[bot] cb3814c79f added way to get to opposite layer 2024-06-25 02:26:26 +00:00
keymap-editor[bot] 48bd4fcc51 left hand board 2024-06-25 02:17:41 +00:00
keymap-editor[bot] 1b8a852546 left pad enter 2024-06-25 02:10:45 +00:00
keymap-editor[bot] 8faa832d6d print string macro 2024-06-20 22:26:50 +00:00
keymap-editor[bot] c8f27dc318 scroll by word 2024-06-20 17:15:25 +00:00
keymap-editor[bot] 7628a082c1 changed dial to something useful 2024-06-20 17:01:34 +00:00
keymap-editor[bot] b6b509023a Updated sofle.keymap 2024-06-19 22:54:57 +00:00
keymap-editor[bot] 20ca7fac0c macro too fast 2024-06-19 22:14:31 +00:00
keymap-editor[bot] 6ce336ca51 macro edits 2024-06-19 22:10:01 +00:00
keymap-editor[bot] 0bd9cef101 scroll test 2024-06-19 22:02:43 +00:00
keymap-editor[bot] 4ee469aa62 added UE shortcuts 2024-06-19 22:01:00 +00:00
keymap-editor[bot] 35996f2a99 Updated sofle.keymap 2024-06-19 21:18:33 +00:00
keymap-editor[bot] 271f5d819b changed how FRow works, added numpad 2024-06-19 21:11:36 +00:00
litruv 6e045b2de2 Update sofle.keymap 2024-06-19 03:37:24 +10:00
litruv beaf3f64c2 Update sofle.keymap 2024-06-18 22:44:38 +10:00
litruv 114492559d Update sofle.keymap 2024-06-18 22:39:14 +10:00
litruv fada43cb0b Update sofle.keymap 2024-06-17 07:46:02 +10:00
litruv 44bbe08b81 Update sofle.keymap 2024-06-17 07:43:44 +10:00
litruv 0c091ce5ab Revert 2024-06-17 07:39:55 +10:00
litruv b1d4e90e22 What have I done lmao 2024-06-17 07:37:12 +10:00
litruv 21b1b0c5aa Update sofle.keymap 2024-06-17 07:32:51 +10:00
litruv 02e243c7ee Update sofle.keymap 2024-06-17 07:21:01 +10:00
keymap-editor[bot] 795446bbfd Updated sofle.keymap 2024-06-16 21:14:07 +00:00
litruv 0e781f93e4 Update sofle.keymap 2024-06-17 07:08:14 +10:00
litruv ba572fd43a added wpm widget 2024-06-17 03:23:42 +10:00
litruv 4e31de0480 Update sofle.conf 2024-06-17 03:14:17 +10:00
litruv 6c3e35c047 Update sofle.conf 2024-06-17 03:02:54 +10:00
keymap-editor[bot] 9acb2a5580 shift mods up, combine grave+esc 2024-06-13 15:20:42 +00:00
keymap-editor[bot] a8653c32c4 Updated sofle.keymap 2024-06-13 13:47:39 +00:00
keymap-editor[bot] 5dfb1a2286 added soft off to volume key 2024-06-13 13:38:02 +00:00
litruv 51cf6e088a Semantics 2024-06-13 16:04:30 +10:00
litruv d11229c989 Added shifted gaming layer 2024-06-13 15:55:53 +10:00
litruv 51dc59fa16 Added display + Encoders 2024-06-13 14:06:53 +10:00
litruv b8ca1991c5 Initial User Config. 2024-06-13 02:28:31 +10:00
12 changed files with 434 additions and 73 deletions
View File
+26
View File
@@ -0,0 +1,26 @@
if SHIELD_SOFLE_DONGLE
# Max 16 characters in keyboard name
config ZMK_KEYBOARD_NAME
default "Sofle"
config ZMK_SPLIT_ROLE_CENTRAL
default y
config ZMK_SPLIT
default y
# Set this to the number of peripherals your dongle will have.
# For a unibody, this would be 1. If you have left and right halves, set it to 2, etc.
config ZMK_SPLIT_BLE_CENTRAL_PERIPHERALS
default 2
# Set this to ZMK_SPLIT_BLE_CENTRAL_PERIPHERALS + your desired number of BT profiles (default is 5)
config BT_MAX_CONN
default 6
# Set this to the same number as BT_MAX_CONN
config BT_MAX_PAIRED
default 6
endif
+3
View File
@@ -0,0 +1,3 @@
# No whitespace after the comma or in the keyboard name!
config SHIELD_SOFLE_DONGLE
def_bool $(shields_list_contains,sofle_dongle)
+71
View File
@@ -0,0 +1,71 @@
#include <physical_layouts.dtsi>
/ {
josefadamcik_sofle_layout: josefadamcik_sofle_layout {
compatible = "zmk,physical-layout";
display-name = "Sofle";
keys // w h x y rot rx ry
= <&key_physical_attrs 100 100 0 37 0 0 0>
, <&key_physical_attrs 100 100 100 37 0 0 0>
, <&key_physical_attrs 100 100 200 12 0 0 0>
, <&key_physical_attrs 100 100 300 0 0 0 0>
, <&key_physical_attrs 100 100 400 12 0 0 0>
, <&key_physical_attrs 100 100 500 24 0 0 0>
, <&key_physical_attrs 100 100 900 24 0 0 0>
, <&key_physical_attrs 100 100 1000 12 0 0 0>
, <&key_physical_attrs 100 100 1100 0 0 0 0>
, <&key_physical_attrs 100 100 1200 12 0 0 0>
, <&key_physical_attrs 100 100 1300 37 0 0 0>
, <&key_physical_attrs 100 100 1400 37 0 0 0>
, <&key_physical_attrs 100 100 0 137 0 0 0>
, <&key_physical_attrs 100 100 100 137 0 0 0>
, <&key_physical_attrs 100 100 200 112 0 0 0>
, <&key_physical_attrs 100 100 300 100 0 0 0>
, <&key_physical_attrs 100 100 400 112 0 0 0>
, <&key_physical_attrs 100 100 500 124 0 0 0>
, <&key_physical_attrs 100 100 900 124 0 0 0>
, <&key_physical_attrs 100 100 1000 112 0 0 0>
, <&key_physical_attrs 100 100 1100 100 0 0 0>
, <&key_physical_attrs 100 100 1200 112 0 0 0>
, <&key_physical_attrs 100 100 1300 137 0 0 0>
, <&key_physical_attrs 100 100 1400 137 0 0 0>
, <&key_physical_attrs 100 100 0 237 0 0 0>
, <&key_physical_attrs 100 100 100 237 0 0 0>
, <&key_physical_attrs 100 100 200 212 0 0 0>
, <&key_physical_attrs 100 100 300 200 0 0 0>
, <&key_physical_attrs 100 100 400 212 0 0 0>
, <&key_physical_attrs 100 100 500 224 0 0 0>
, <&key_physical_attrs 100 100 900 224 0 0 0>
, <&key_physical_attrs 100 100 1000 212 0 0 0>
, <&key_physical_attrs 100 100 1100 200 0 0 0>
, <&key_physical_attrs 100 100 1200 212 0 0 0>
, <&key_physical_attrs 100 100 1300 237 0 0 0>
, <&key_physical_attrs 100 100 1400 237 0 0 0>
, <&key_physical_attrs 100 100 0 337 0 0 0>
, <&key_physical_attrs 100 100 100 337 0 0 0>
, <&key_physical_attrs 100 100 200 312 0 0 0>
, <&key_physical_attrs 100 100 300 300 0 0 0>
, <&key_physical_attrs 100 100 400 312 0 0 0>
, <&key_physical_attrs 100 100 500 324 0 0 0>
, <&key_physical_attrs 100 100 600 274 0 0 0>
, <&key_physical_attrs 100 100 800 274 0 0 0>
, <&key_physical_attrs 100 100 900 324 0 0 0>
, <&key_physical_attrs 100 100 1000 312 0 0 0>
, <&key_physical_attrs 100 100 1100 300 0 0 0>
, <&key_physical_attrs 100 100 1200 312 0 0 0>
, <&key_physical_attrs 100 100 1300 337 0 0 0>
, <&key_physical_attrs 100 100 1400 337 0 0 0>
, <&key_physical_attrs 100 100 175 437 0 0 0>
, <&key_physical_attrs 100 100 275 412 0 0 0>
, <&key_physical_attrs 100 100 375 412 0 0 0>
, <&key_physical_attrs 100 100 490 412 1200 490 412>
, <&key_physical_attrs 100 150 600 383 2400 600 433>
, <&key_physical_attrs 100 150 800 383 (-2400) 900 433>
, <&key_physical_attrs 100 100 910 412 (-1200) 1010 412>
, <&key_physical_attrs 100 100 1025 412 0 0 0>
, <&key_physical_attrs 100 100 1125 412 0 0 0>
, <&key_physical_attrs 100 100 1225 437 0 0 0>
;
};
};
+56
View File
@@ -0,0 +1,56 @@
#include <dt-bindings/zmk/matrix_transform.h>
#include "sofle.dtsi"
&josefadamcik_sofle_layout {
transform = <&default_transform>;
};
/ {
chosen {
zmk,kscan = &mock_kscan;
zmk,physical-layout = &josefadamcik_sofle_layout;
};
mock_kscan: mock_kscan_0 {
compatible = "zmk,kscan-mock";
columns = <0>;
rows = <0>;
events = <0>;
};
/* Rotary encoders (same logical wiring as halves; mark disabled until mapped to actual pins if needed) */
left_encoder: left_encoder {
compatible = "alps,ec11";
a-gpios = <&gpio0 21 (GPIO_ACTIVE_HIGH)>;
b-gpios = <&gpio0 20 (GPIO_ACTIVE_HIGH)>;
steps = <80>;
status = "okay";
};
right_encoder: right_encoder {
compatible = "alps,ec11";
a-gpios = <&gpio0 20 (GPIO_ACTIVE_HIGH)>;
b-gpios = <&gpio0 21 (GPIO_ACTIVE_HIGH)>;
steps = <80>;
status = "okay";
};
default_transform: keymap_transform_0 {
compatible = "zmk,matrix-transform";
columns = <16>;
rows = <4>;
map = <
RC(0,0) RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(0,6) RC(0,7) RC(0,8) RC(0,9) RC(0,10) RC(0,11)
RC(1,0) RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) RC(1,7) RC(1,8) RC(1,9) RC(1,10) RC(1,11)
RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9) RC(2,10) RC(2,11)
RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(4,5) RC(4,6) RC(3,6) RC(3,7) RC(3,8) RC(3,9) RC(3,10) RC(3,11)
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>;
};
};
+10 -2
View File
@@ -18,7 +18,15 @@
#
---
include:
- board: nice_nano_v2
- board: nice_nano//zmk
shield: sofle_left
- board: nice_nano_v2
cmake-args: -DCONFIG_ZMK_SPLIT=y -DCONFIG_ZMK_SPLIT_ROLE_CENTRAL=n
- board: nice_nano//zmk
shield: sofle_right
cmake-args: -DCONFIG_ZMK_SPLIT=y -DCONFIG_ZMK_SPLIT_ROLE_CENTRAL=n
- board: nice_nano//zmk
shield: sofle_dongle
snippet: studio-rpc-usb-uart
cmake-args: -DCONFIG_ZMK_STUDIO=y
- board: nice_nano//zmk
shield: settings_reset
+8 -13
View File
@@ -1,17 +1,12 @@
# Copyright (c) 2020 Ryan Cross
# SPDX-License-Identifier: MIT
# Only enable display and encoders for non-dongle shields
CONFIG_ZMK_DISPLAY=y
# Uncomment the following line to enable the Sofle OLED Display
# CONFIG_ZMK_DISPLAY=y
CONFIG_EC11=y
CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y
# Uncomment these two lines to add support for encoders
# CONFIG_EC11=y
# CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y
CONFIG_ZMK_SLEEP=y
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=3600000
# Uncomment this line below to add rgb underglow / backlight support
# CONFIG_ZMK_RGB_UNDERGLOW=y
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
# Uncomment the line below to disable external power toggling by the underglow.
# By default toggling the underglow on and off also toggles external power
# on and off. This also causes the display to turn off.
# CONFIG_ZMK_RGB_UNDERGLOW_EXT_POWER=n
CONFIG_ZMK_WIDGET_WPM_STATUS=y
+196 -58
View File
@@ -5,10 +5,9 @@
*/
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/rgb.h>
#include <dt-bindings/zmk/ext_power.h>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/rgb.h>
#define BASE 0
#define LOWER 1
@@ -16,13 +15,115 @@
#define ADJUST 3
/ {
// Activate ADJUST layer by pressing raise and lower
// Activate ADJUST layer by pressing raise and lower
conditional_layers {
compatible = "zmk,conditional-layers";
adjust_layer {
if-layers = <LOWER RAISE>;
then-layer = <ADJUST>;
if-layers = <1 2>;
then-layer = <3>;
};
};
macros {
CustomEvent: CustomEvent {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&kp TAB &kp LS(A) &kp D &kp D &kp SPACE &kp LS(C) &kp U &kp S &kp T &kp O &kp M &kp SPACE &kp LS(E) &kp V &kp E &kp N &kp T &kp DOT &kp DOT &kp DOT &kp ENTER>;
label = "CUSTOMEVENT";
wait-ms = <5>;
tap-ms = <5>;
};
PrintString: new_macro {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&kp TAB &kp LS(P) &kp R &kp I &kp N &kp T &kp SPACE &kp LS(S) &kp T &kp R &kp I &kp N &kp G &kp ENTER>;
label = "NEW_MACRO";
};
DCancelA: DCancelA {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings =
<&macro_release>,
<&kp A>,
<&macro_press>,
<&kp D>,
<&macro_pause_for_release>,
<&macro_release>,
<&kp D>,
<&macro_press>,
<&kp A>;
label = "DCANCELA";
};
ACancelD: ACancelD {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings =
<&macro_release>,
<&kp D>,
<&macro_press>,
<&kp A>,
<&macro_pause_for_release>,
<&macro_release>,
<&kp A>,
<&macro_press>,
<&kp D>;
label = "ACANCELD";
};
};
combos {
compatible = "zmk,combos";
BackspaceOnLeft {
bindings = <&kp BACKSPACE>;
key-positions = <24 36>;
};
ComboDelete {
bindings = <&kp DELETE>;
key-positions = <53 54>;
};
NextDesktop {
bindings = <&kp LG(LC(RIGHT_ARROW))>;
key-positions = <4 5>;
require-prior-idle-ms = <1000>;
};
PreviousDesktop {
bindings = <&kp LC(LG(LEFT_ARROW))>;
key-positions = <4 3>;
require-prior-idle-ms = <1000>;
};
};
behaviors {
MT_Long: MT_Long {
compatible = "zmk,behavior-hold-tap";
label = "MT_LONG";
bindings = <&mo>, <&kp>;
#binding-cells = <2>;
flavor = "hold-preferred";
tapping-term-ms = <150>;
quick-tap-ms = <150>;
};
MT_Keys: MT_Keys {
compatible = "zmk,behavior-hold-tap";
label = "MT_KEYS";
bindings = <&kp>, <&kp>;
#binding-cells = <2>;
tapping-term-ms = <150>;
quick-tap-ms = <150>;
};
};
@@ -30,79 +131,116 @@
compatible = "zmk,keymap";
default_layer {
display-name = "default";
// ------------------------------------------------------------------------------------------------------------
// | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | |
// | ESC | Q | W | E | R | T | | Y | U | I | O | P | BKSPC |
// | TAB | A | S | D | F | G | | H | J | K | L | ; | ' |
// | SHIFT | Z | X | C | V | B | MUTE | | | N | M | , | . | / | SHIFT |
// | GUI | ALT | CTRL | LOWER| ENTER | | SPACE | RAISE| CTRL | ALT | GUI |
display-name = "Base";
// ------------------------------------------------------------------------------------------------------------
// | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | BSPC |
// | ESC | Q | W | E | R | T | | Y | U | I | O | P | DEL |
// | TAB | A | S | D | F | G | | H | J | K | L | ; | ' |
// | SHIFT | Z | X | C | V | B | MUTE | | | N | M | , | . | / | SHIFT |
// | CTRL| WIN | ALT | LOWER| SPACE | | ENTER | RAISE| ALT | WIN | CTRL |
bindings = <
&kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &none
&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
&kp TAB &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp C_MUTE &none &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
&kp LGUI &kp LALT &kp RAISE &mo LOWER &kp RET &kp SPACE &mo RAISE &kp RCTRL &kp RALT &kp RGUI
&MT_Keys GRAVE ESCAPE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp DEL
&mo 4 &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LEFT_SHIFT &kp Z &kp X &kp C &kp V &kp B &kp LC(V) &kp C_MUTE &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
&kp LCTRL &kp LGUI &kp LALT &MT_Long 1 LEFT_ALT &kp SPACE &kp RET &mo 2 &kp RIGHT_ALT &kp RGUI &kp RCTRL
>;
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>;
sensor-bindings =
<&inc_dec_kp LC(RIGHT) LC(LEFT)>,
<&inc_dec_kp C_VOL_UP C_VOL_DN>;
};
lower_layer {
display-name = "lower";
// TODO: Some binds are waiting for shifted keycode support.
// ------------------------------------------------------------------------------------------------------------
// | | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 |
// | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | F12 |
// | | ! | @ | # | $ | % | | ^ | & | * | ( | ) | | |
// | | = | - | + | { | } | | | | [ | ] | ; | : | \ | |
// | | | | | | | | | | | |
display-name = "Lower";
// TODO: Some binds are waiting for shifted keycode support.
// ------------------------------------------------------------------------------------------------------------
// | | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 | F11 |
// | ` | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | F12 |
// | | ! | @ | # | $ | % | | ^ | & | * | ( | ) | | |
// | | = | - | + | { | } | | | | [ | ] | ; | : | \ | |
// | | | | | | | | | | | |
bindings = <
&trans &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11
&kp GRAVE &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp F12
&trans &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &kp PIPE
&trans &kp EQUAL &kp MINUS &kp PLUS &kp LBRC &kp RBRC &trans &trans &kp LBKT &kp RBKT &kp SEMI &kp COLON &kp BSLH &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &trans &trans &trans &trans &trans &trans
&kp F9 &none &kp UP_ARROW &kp LC(E) &CustomEvent &mt LA(S) LA(P) &trans &trans &trans &trans &trans &trans
&mo 5 &kp LEFT &kp DOWN_ARROW &kp RIGHT &mt LC(LS(F)) LC(F) &PrintString &trans &trans &trans &trans &trans &trans
&kp LSHFT &kp LC(SLASH) &none &none &none &kp LC(B) &kp ESCAPE &trans &trans &trans &trans &trans &trans &trans
&none &none &kp ENTER &trans &trans &trans &trans &trans &trans &trans
>;
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>;
sensor-bindings =
<&inc_dec_kp UP_ARROW DOWN>,
<&inc_dec_kp PG_UP PG_DN>;
};
raise_layer {
display-name = "raise";
// ------------------------------------------------------------------------------------------------------------
// | BTCLR | BT1 | BT2 | BT3 | BT4 | BT5 | | | | | | | |
// | | INS | PSCR | GUI | | | | PGUP | | ^ | | | |
// | | ALT | CTRL | SHIFT | | CAPS | | PGDN | <- | v | -> | DEL | BKSPC |
// | | UNDO | CUT | COPY | PASTE | | | | | | | | | | |
// | | | | | | | | | | | |
display-name = "Upper";
// ------------------------------------------------------------------------------------------------------------
// | BTCLR | BT1 | BT2 | BT3 | BT4 | BT5 | | | | | | | |
// | | INS | PSCR | GUI | | | | PGUP | | ^ | | | |
// | | ALT | CTRL | SHIFT | | CAPS | | PGDN | <- | v | -> | DEL | BKSPC |
// | | UNDO | CUT | COPY | PASTE | | | | | | | | | | |
// | | | | | | | | | | | |
bindings = <
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &trans &trans &trans &trans &trans &trans
&trans &kp INS &kp PSCRN &kp K_CMENU &trans &trans &kp PG_UP &trans &kp UP &trans &kp N0 &trans
&trans &kp LALT &kp LCTRL &kp LSHFT &trans &kp CLCK &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &kp DEL &kp BSPC
&trans &kp K_UNDO &kp K_CUT &kp K_COPY &kp K_PASTE &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&studio_unlock &none &none &none &none &none &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12
&trans &trans &trans &trans &trans &trans &kp PG_UP &kp HOME &kp UP &kp END &kp LEFT_BRACKET &kp RIGHT_BRACKET
&trans &trans &trans &trans &trans &trans &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &kp MINUS &kp EQUAL
&trans &trans &trans &trans &trans &trans &trans &kp PRINTSCREEN &trans &trans &trans &trans &kp BACKSLASH &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
>;
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>;
sensor-bindings =
<&inc_dec_kp A B>,
<&inc_dec_kp C_VOL_UP C_VOL_DN>;
};
adjust_layer {
// ----------------------------------------------------------------------------------------------------------------------------
// | BTCLR | BT1 | BT2 | BT3 | BT4 | BT5 | | | | | | | |
// | EXTPWR | RGB_HUD | RGB_HUI | RGB_SAD | RGB_SAI | RGB_EFF | | | | | | | |
// | | RGB_BRD | RGB_BRI | | | | | | | | | | |
// | | | | | | | RGB_TOG | | | | | | | | |
// | | | | | | | | | | | |
display-name = "adjust";
// ----------------------------------------------------------------------------------------------------------------------------
// | BTCLR | BT1 | BT2 | BT3 | BT4 | BT5 | | | | | | | |
// | EXTPWR | RGB_HUD | RGB_HUI | RGB_SAD | RGB_SAI | RGB_EFF | | | | | | | |
// | | RGB_BRD | RGB_BRI | | | | | | | | | | |
// | | | | | | | RGB_TOG | | | | | | | | |
// | | | | | | | | | | | |
display-name = "Adjust";
bindings = <
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &none &none &none &none &none &none
&ext_power EP_TOG &rgb_ug RGB_HUD &rgb_ug RGB_HUI &rgb_ug RGB_SAD &rgb_ug RGB_SAI &rgb_ug RGB_EFF &none &none &none &none &none &none
&none &rgb_ug RGB_BRD &rgb_ug RGB_BRI &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &rgb_ug RGB_TOG &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none
&studio_unlock &none &none &none &none &none &none &none &none &none &none &none
&ext_power EP_TOG &rgb_ug RGB_HUD &rgb_ug RGB_HUI &rgb_ug RGB_SAD &rgb_ug RGB_SAI &rgb_ug RGB_EFF &none &none &none &none &none &none
&none &rgb_ug RGB_BRD &rgb_ug RGB_BRI &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &rgb_ug RGB_TOG &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none
>;
};
Opposites {
bindings = <
&kp BACKSPACE &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans &trans &trans &trans &trans &trans
&kp DEL &kp Y &kp U &kp I &kp O &kp P &trans &trans &trans &trans &trans &trans
&trans &kp H &kp J &kp K &kp L &kp SEMI &kp RSHFT &trans &trans &trans &trans &trans
&kp LSHFT &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp ESCAPE &trans &trans &trans &trans &trans &trans &trans
&kp EQUAL &kp MINUS &kp LEFT_BRACKET &kp RIGHT_BRACKET &kp RET &trans &trans &trans &trans &trans
>;
label = "Opposites";
sensor-bindings = <&inc_dec_kp DOWN UP>;
};
OppositeFunctions {
bindings = <
&kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
>;
label = "Opp Func";
};
};
};
+12
View File
@@ -0,0 +1,12 @@
# Only enable display and encoders for non-dongle shields
CONFIG_ZMK_DISPLAY=y
CONFIG_EC11=y
CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y
CONFIG_ZMK_SLEEP=y
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=3600000
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
CONFIG_ZMK_WIDGET_WPM_STATUS=y
+20
View File
@@ -0,0 +1,20 @@
# Configuration for Sofle Dongle (Wireless Receiver)
# Acts as a central node; we want encoder events processed even if dongle has no physical encoders
# (some firmware paths expect sensor count to match halves for behavior consistency)
# No local display
CONFIG_ZMK_DISPLAY=n
# Enable EC11 driver so encoder sensor behavior compiles & split forwarded events are handled
CONFIG_EC11=y
CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y
# Power & Sleep
CONFIG_ZMK_SLEEP=y
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=3600000
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
# No display widgets
CONFIG_ZMK_WIDGET_WPM_STATUS=n
CONFIG_ZMK_STUDIO=y
+16
View File
@@ -0,0 +1,16 @@
# Configuration for Sofle Left Half
CONFIG_ZMK_DISPLAY=y
CONFIG_EC11=y
CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y
CONFIG_ZMK_SLEEP=y
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=3600000
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
CONFIG_ZMK_WIDGET_WPM_STATUS=y
# Split configuration
CONFIG_ZMK_SPLIT=y
CONFIG_ZMK_SPLIT_ROLE_CENTRAL=n
+16
View File
@@ -0,0 +1,16 @@
# Configuration for Sofle Right Half
CONFIG_ZMK_DISPLAY=y
CONFIG_EC11=y
CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y
CONFIG_ZMK_SLEEP=y
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=3600000
CONFIG_BT_CTLR_TX_PWR_PLUS_8=y
CONFIG_ZMK_WIDGET_WPM_STATUS=y
# Split configuration
CONFIG_ZMK_SPLIT=y
CONFIG_ZMK_SPLIT_ROLE_CENTRAL=n