From b12a317f2eb4425a6cc15149520f67627dbe22ce Mon Sep 17 00:00:00 2001 From: Ilya Savin Date: Wed, 4 Mar 2026 18:28:00 +0300 Subject: [PATCH 01/15] INT update --- README.md | 8 ++++---- config/cck_ball.conf | 20 ++++++++++---------- config/cck_ball.keymap | 22 +++++++++++----------- 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index 134ed569..5ca21aa5 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ zmk-config for CCK_BALL (4x6) -![白色成品+手托](https://github.com/user-attachments/assets/7b2834f0-ca09-4f8c-9fc1-12455f67ae44) -![白色成品2](https://github.com/user-attachments/assets/7fe073d5-bb1c-4e42-b150-3521b4418ae0) -![黑色成品1](https://github.com/user-attachments/assets/4a7023ca-07ca-4a63-9d32-9af96ff9c73f) -![黑色成品2](https://github.com/user-attachments/assets/34d4351d-cbd9-4c82-a2e0-c7c9d28c5942) + +i18L'ed config +Enter key swapped with SQT +Right roller switch to MB4 MB5 emulation diff --git a/config/cck_ball.conf b/config/cck_ball.conf index d43055ef..86b0ae4c 100644 --- a/config/cck_ball.conf +++ b/config/cck_ball.conf @@ -1,13 +1,13 @@ -# 设置自动连接最小间隔时间为7.5ms +# Set the minimum automatic connection interval to 7.5ms. # CONFIG_BT_PERIPHERAL_PREF_MIN_INT=6 -# 11.25ms的副手链接主手的时间间隔 +# The time interval between the secondary hand and the primary hand is 11.25ms. # CONFIG_BT_PERIPHERAL_PREF_MAX_INT=9 -# 延迟为0,意味着副手不会跳过任何链接事键,始终保持活跃监听状态,能解决因为睡眠太深而无法被主手唤醒的问题,稍微增加副手的功耗 +# A latency of 0 means the secondary device will not skip any connection events and will always remain actively listening. This solves the problem of the primary device being unable to wake it up due to deep sleep, although it slightly increases the power consumption of the secondary device. # CONFIG_BT_PERIPHERAL_PREF_LATENCY=0 -# 超过4000ms,在这个时间段内没有通信,链接才会被断开 +# The connection will only be closed if there is no communication within a period of more than 4000ms. # CONFIG_BT_PERIPHERAL_PREF_TIMEOUT=400 CONFIG_BT_CTLR_TX_PWR_PLUS_8=y @@ -17,7 +17,7 @@ CONFIG_ZMK_BATTERY_REPORT_INTERVAL=60 CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=y CONFIG_CLOCK_CONTROL_NRF_K32SRC_30PPM=y -#开启旋钮 +#Turn on knob CONFIG_EC11=y CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y @@ -26,12 +26,12 @@ CONFIG_ZMK_POINTING=y # CONFIG_ZMK_EXT_POWER=y -# 增加键盘消抖 +# Add keyboard debouncing # CONFIG_ZMK_KSCAN_DEBOUNCE_PRESS_MS=5 # CONFIG_ZMK_KSCAN_DEBOUNCE_RELEASE_MS=5 # CONFIG_ZMK_BLE_EXPERIMENTAL_CONN=y -# 启用键盘RGB功能 +# Enable keyboard RGB function # CONFIG_ZMK_RGB_UNDERGLOW=y # CONFIG_WS2812_STRIP=y # CONFIG_LED_STRIP=y @@ -41,13 +41,13 @@ CONFIG_ZMK_POINTING=y # CONFIG_ZMK_SLEEP=y # CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000 # CONFIG_ZMK_BLE_EXPERIMENTAL_CONN=y -#此文件下是分体两边都生效的,里面的左右conf文件是两边有不同功能配置时操作的 +#This file contains separate configuration files that apply to both sides. The left and right .conf files are for operations when each side has different functional configurations. -# 蓝牙增强 +# Bluetooth Enhancement # CONFIG_BT_GATT_ENFORCE_SUBSCRIPTION=y # CONFIG_BT_CTLR_TX_PWR_PLUS_8=y -# 改键 +#Key remapping CONFIG_ZMK_STUDIO=y CONFIG_ZMK_STUDIO_LOCKING=n CONFIG_ZMK_STUDIO_LOCK_ON_DISCONNECT=n diff --git a/config/cck_ball.keymap b/config/cck_ball.keymap index 1aa68d84..8470bade 100644 --- a/config/cck_ball.keymap +++ b/config/cck_ball.keymap @@ -27,7 +27,7 @@ &soft_off { hold-time-ms = <2000>; }; / { - // 上下滚动编码器行为 + // Up and down scroll encoder behavior scroll_vertical_encoder: scroll_vertical_encoder { compatible = "zmk,behavior-sensor-rotate"; #sensor-binding-cells = <0>; @@ -35,7 +35,7 @@ tap-ms = <100>; }; - // 左右滚动编码器行为 + // Left and right scroll encoder behavior scroll_horizontal_encoder: scroll_horizontal_encoder { compatible = "zmk,behavior-sensor-rotate"; #sensor-binding-cells = <0>; @@ -53,24 +53,24 @@ bindings = < &kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BACKSPACE &kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSLH -&kp CAPSLOCK &kp A < 4 S &kp D < 3 F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT +&kp CAPSLOCK &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp ENTER &kp LEFT_SHIFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp UP_ARROW &kp FSLH -&kp LEFT_CONTROL &kp LEFT_WIN &kp LEFT_ALT &kp DELETE &kp SPACE &mo 1 &mo 2 &kp SPACE &kp ENTER &kp LEFT_ARROW &kp DOWN_ARROW &kp RIGHT_ARROW +&kp LEFT_CONTROL &kp LEFT_WIN &kp LEFT_ALT &kp DELETE &kp SPACE &mo 1 &mo 2 &kp SPACE &kp SQT &kp LEFT_ARROW &kp DOWN_ARROW &kp RIGHT_ARROW >; - sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>; + sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp MB4 MB5>; }; F_layers { bindings = < -&kp F12 &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 -&kp A &none &none &none &none &trans &none &none &none &trans &trans &trans -&trans &none &none &none &none &trans &mkp LCLK &mkp RCLK &trans &trans &trans &trans -&trans &trans &trans &trans &trans &none &none &none &trans &trans &none &trans -&trans &trans &trans &trans &trans &trans &mkp LCLK &mkp RCLK &trans &trans &trans &trans +&kp F12 &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp MINUS &kp EQL &kp F11 +&kp TILDE &none &none &none &none &trans &trans &trnas &trans &kp F9 &kp F10 &trans +&trans &trans &trans &trans &trans &trans &trans &trnas &trans &trans &trans &trans +&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp PG_UP &trans +&trans &trans &trans &trans &trans &trans &mkp LCLK &mkp MCLK &mkp RCKL &kp HOME &kp PG_DN &kp END >; - sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>; + sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp MB4 MB5>; }; BT_layers { From 098243f1d23ac5f3b29a45beb92203c76b810297 Mon Sep 17 00:00:00 2001 From: Ilya Savin Date: Wed, 4 Mar 2026 18:38:56 +0300 Subject: [PATCH 02/15] Fix for newer ZMK --- build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.yaml b/build.yaml index b714b9c9..128df4bf 100644 --- a/build.yaml +++ b/build.yaml @@ -13,11 +13,11 @@ # --- include: - - board: nice_nano_v2 + - board: nice_nano@2.0.0//ZMK shield: cck_ball_left - - board: nice_nano_v2 + - board: nice_nano@2.0.0//ZMK shield: cck_ball_right snippet: studio-rpc-usb-uart cmake-args: -DCONFIG_ZMK_STUDIO=y - - board: nice_nano_v2 + - board: nice_nano@2.0.0//ZMK shield: settings_reset From a29db1e0d79ae7861521fc6e86852281ac04e5ed Mon Sep 17 00:00:00 2001 From: Ilya Savin Date: Wed, 4 Mar 2026 18:55:06 +0300 Subject: [PATCH 03/15] Typo fix --- build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.yaml b/build.yaml index 128df4bf..46911b77 100644 --- a/build.yaml +++ b/build.yaml @@ -13,11 +13,11 @@ # --- include: - - board: nice_nano@2.0.0//ZMK + - board: nice_nano@2.0.0//zmk shield: cck_ball_left - - board: nice_nano@2.0.0//ZMK + - board: nice_nano@2.0.0//zmk shield: cck_ball_right snippet: studio-rpc-usb-uart cmake-args: -DCONFIG_ZMK_STUDIO=y - - board: nice_nano@2.0.0//ZMK + - board: nice_nano@2.0.0//zmk shield: settings_reset From a4ae0f7e9f3bf7474a494d2d53bf9421f085c9ff Mon Sep 17 00:00:00 2001 From: Ilya Savin Date: Wed, 4 Mar 2026 20:04:00 +0300 Subject: [PATCH 04/15] Typo fix --- build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.yaml b/build.yaml index 46911b77..3b679659 100644 --- a/build.yaml +++ b/build.yaml @@ -13,11 +13,11 @@ # --- include: - - board: nice_nano@2.0.0//zmk + - board: nice_nano@2.0.0 shield: cck_ball_left - - board: nice_nano@2.0.0//zmk + - board: nice_nano@2.0.0 shield: cck_ball_right snippet: studio-rpc-usb-uart cmake-args: -DCONFIG_ZMK_STUDIO=y - - board: nice_nano@2.0.0//zmk + - board: nice_nano@2.0.0 shield: settings_reset From 138bcf0e3de3acf20fb21b0d66f723d649f5caae Mon Sep 17 00:00:00 2001 From: Ilya Savin Date: Wed, 4 Mar 2026 20:15:07 +0300 Subject: [PATCH 05/15] Typo fix --- build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.yaml b/build.yaml index 3b679659..1343b2cd 100644 --- a/build.yaml +++ b/build.yaml @@ -13,11 +13,11 @@ # --- include: - - board: nice_nano@2.0.0 + - board: nice_nano shield: cck_ball_left - - board: nice_nano@2.0.0 + - board: nice_nano shield: cck_ball_right snippet: studio-rpc-usb-uart cmake-args: -DCONFIG_ZMK_STUDIO=y - - board: nice_nano@2.0.0 + - board: nice_nano shield: settings_reset From 6c167d88933e03e5a47b6ebbe56f8f13a1cdead4 Mon Sep 17 00:00:00 2001 From: Ilya Savin Date: Wed, 4 Mar 2026 20:37:59 +0300 Subject: [PATCH 06/15] Typo fix --- build.yaml | 6 +++--- config/cck_ball.keymap | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/build.yaml b/build.yaml index 1343b2cd..3b679659 100644 --- a/build.yaml +++ b/build.yaml @@ -13,11 +13,11 @@ # --- include: - - board: nice_nano + - board: nice_nano@2.0.0 shield: cck_ball_left - - board: nice_nano + - board: nice_nano@2.0.0 shield: cck_ball_right snippet: studio-rpc-usb-uart cmake-args: -DCONFIG_ZMK_STUDIO=y - - board: nice_nano + - board: nice_nano@2.0.0 shield: settings_reset diff --git a/config/cck_ball.keymap b/config/cck_ball.keymap index 8470bade..5bb7557d 100644 --- a/config/cck_ball.keymap +++ b/config/cck_ball.keymap @@ -58,19 +58,19 @@ &kp LEFT_CONTROL &kp LEFT_WIN &kp LEFT_ALT &kp DELETE &kp SPACE &mo 1 &mo 2 &kp SPACE &kp SQT &kp LEFT_ARROW &kp DOWN_ARROW &kp RIGHT_ARROW >; - sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp MB4 MB5>; + sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp MB4 MB5 >; }; F_layers { bindings = < -&kp F12 &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp MINUS &kp EQL &kp F11 -&kp TILDE &none &none &none &none &trans &trans &trnas &trans &kp F9 &kp F10 &trans -&trans &trans &trans &trans &trans &trans &trans &trnas &trans &trans &trans &trans -&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp PG_UP &trans -&trans &trans &trans &trans &trans &trans &mkp LCLK &mkp MCLK &mkp RCKL &kp HOME &kp PG_DN &kp END +&kp F12 &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp MINUS &kp EQL &kp F11 +&kp TILDE &trans &trans &trans &trans &trans &trans &trans &trans &kp F9 &kp F10 &trans +&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans +&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp PG_UP &trans +&trans &trans &trans &trans &trans &trans &mkp LCLK &mkp MCLK &mkp RCKL &kp HOME &kp PG_DN &kp END >; - sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp MB4 MB5>; + sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp MB4 MB5 >; }; BT_layers { From 712423051df45eea3a488205b76423ed30be511c Mon Sep 17 00:00:00 2001 From: Ilya Savin Date: Wed, 4 Mar 2026 20:45:02 +0300 Subject: [PATCH 07/15] Typo fix --- config/cck_ball.keymap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cck_ball.keymap b/config/cck_ball.keymap index 5bb7557d..eefddc81 100644 --- a/config/cck_ball.keymap +++ b/config/cck_ball.keymap @@ -67,7 +67,7 @@ &kp TILDE &trans &trans &trans &trans &trans &trans &trans &trans &kp F9 &kp F10 &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp PG_UP &trans -&trans &trans &trans &trans &trans &trans &mkp LCLK &mkp MCLK &mkp RCKL &kp HOME &kp PG_DN &kp END +&trans &trans &trans &trans &trans &trans &mkp LCLK &mkp MB3 &mkp RCKL &kp HOME &kp PG_DN &kp END >; sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp MB4 MB5 >; From b9031932b569251722693411a8f4a204a50f7653 Mon Sep 17 00:00:00 2001 From: Ilya Savin Date: Wed, 4 Mar 2026 21:00:57 +0300 Subject: [PATCH 08/15] switched to old manifest --- .github/workflows/build.yml | 2 +- build.yaml | 6 +++--- config/west.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d74fb89f..324efa0f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,4 +2,4 @@ on: [push, pull_request, workflow_dispatch] jobs: build: - uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@main + uses: zmkfirmware/zmk/.github/workflows/build-user-config.yml@v0.1 diff --git a/build.yaml b/build.yaml index 3b679659..b714b9c9 100644 --- a/build.yaml +++ b/build.yaml @@ -13,11 +13,11 @@ # --- include: - - board: nice_nano@2.0.0 + - board: nice_nano_v2 shield: cck_ball_left - - board: nice_nano@2.0.0 + - board: nice_nano_v2 shield: cck_ball_right snippet: studio-rpc-usb-uart cmake-args: -DCONFIG_ZMK_STUDIO=y - - board: nice_nano@2.0.0 + - board: nice_nano_v2 shield: settings_reset diff --git a/config/west.yml b/config/west.yml index b4858f11..ddb227ca 100644 --- a/config/west.yml +++ b/config/west.yml @@ -11,7 +11,7 @@ manifest: import: app/west.yml - name: zmk-pmw3610-driver remote: DoctorWangWang - revision: main + revision: v0.1 self: path: config From dc0711fc6384b792a9f222e04e235f4d304e2226 Mon Sep 17 00:00:00 2001 From: Ilya Savin Date: Thu, 5 Mar 2026 21:27:30 +0300 Subject: [PATCH 09/15] test --- config/cck_ball.keymap | 4 ++-- config/west.yml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/config/cck_ball.keymap b/config/cck_ball.keymap index eefddc81..5dfdf736 100644 --- a/config/cck_ball.keymap +++ b/config/cck_ball.keymap @@ -58,7 +58,7 @@ &kp LEFT_CONTROL &kp LEFT_WIN &kp LEFT_ALT &kp DELETE &kp SPACE &mo 1 &mo 2 &kp SPACE &kp SQT &kp LEFT_ARROW &kp DOWN_ARROW &kp RIGHT_ARROW >; - sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp MB4 MB5 >; + sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &scroll_vertical_encoder >; }; F_layers { @@ -70,7 +70,7 @@ &trans &trans &trans &trans &trans &trans &mkp LCLK &mkp MB3 &mkp RCKL &kp HOME &kp PG_DN &kp END >; - sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp MB4 MB5 >; + sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &scroll_vertical_encoder >; }; BT_layers { diff --git a/config/west.yml b/config/west.yml index ddb227ca..6e138a4a 100644 --- a/config/west.yml +++ b/config/west.yml @@ -7,11 +7,10 @@ manifest: projects: - name: zmk remote: zmkfirmware - revision: main + revision: v0.3.0 import: app/west.yml - name: zmk-pmw3610-driver remote: DoctorWangWang - revision: v0.1 self: path: config From d5c357b05e240f4e5da6109b4e84179ebde2aaa2 Mon Sep 17 00:00:00 2001 From: Ilya Savin Date: Thu, 5 Mar 2026 21:34:06 +0300 Subject: [PATCH 10/15] test --- config/west.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/west.yml b/config/west.yml index 6e138a4a..5bb521e7 100644 --- a/config/west.yml +++ b/config/west.yml @@ -11,6 +11,7 @@ manifest: import: app/west.yml - name: zmk-pmw3610-driver remote: DoctorWangWang + revision: main self: path: config From 63d36b3818ef8558e9047b00811daa4ab03caf4b Mon Sep 17 00:00:00 2001 From: Ilya Savin Date: Thu, 5 Mar 2026 21:40:41 +0300 Subject: [PATCH 11/15] test --- config/cck_ball.keymap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cck_ball.keymap b/config/cck_ball.keymap index 5dfdf736..a695bb4b 100644 --- a/config/cck_ball.keymap +++ b/config/cck_ball.keymap @@ -67,7 +67,7 @@ &kp TILDE &trans &trans &trans &trans &trans &trans &trans &trans &kp F9 &kp F10 &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp PG_UP &trans -&trans &trans &trans &trans &trans &trans &mkp LCLK &mkp MB3 &mkp RCKL &kp HOME &kp PG_DN &kp END +&trans &trans &trans &trans &trans &trans &mkp MB1 &mkp MB3 &mkp MB2 &kp HOME &kp PG_DN &kp END >; sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &scroll_vertical_encoder >; From 6786397d3113c4411d612458967e298d5d3cc7ee Mon Sep 17 00:00:00 2001 From: Ilya Savin Date: Thu, 5 Mar 2026 22:14:44 +0300 Subject: [PATCH 12/15] test --- config/cck_ball.keymap | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/config/cck_ball.keymap b/config/cck_ball.keymap index a695bb4b..817a19f7 100644 --- a/config/cck_ball.keymap +++ b/config/cck_ball.keymap @@ -43,6 +43,13 @@ tap-ms = <100>; }; + volume_encoder: volume_encoder { + compatible = "zmk,behavior-sensor-rotate"; + #sensor-binding-cells = <0>; + bindings = <&kp C_VOL_UP>, <&kp C_VOL_DN>; + tap-ms = <100>; + }; + behaviors { }; @@ -52,27 +59,27 @@ QWERTY { bindings = < &kp ESC &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BACKSPACE -&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSLH +&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp FSLH &kp CAPSLOCK &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp ENTER -&kp LEFT_SHIFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp UP_ARROW &kp FSLH +&kp LEFT_SHIFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp UP_ARROW &kp RIGHT_SHIFT &kp LEFT_CONTROL &kp LEFT_WIN &kp LEFT_ALT &kp DELETE &kp SPACE &mo 1 &mo 2 &kp SPACE &kp SQT &kp LEFT_ARROW &kp DOWN_ARROW &kp RIGHT_ARROW >; - sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &scroll_vertical_encoder >; + // sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_mkp SCRL_UP SCRL_DOWN >; + sensor-bindings = <&volume_encoder>, <&scroll_vertical_encoder>; }; F_layers { bindings = < &kp F12 &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp MINUS &kp EQL &kp F11 -&kp TILDE &trans &trans &trans &trans &trans &trans &trans &trans &kp F9 &kp F10 &trans +&kp TILDE &trans &trans &trans &trans &trans &trans &trans &trans &kp F9 &kp F10 &kp PIPE &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans -&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp PG_UP &trans -&trans &trans &trans &trans &trans &trans &mkp MB1 &mkp MB3 &mkp MB2 &kp HOME &kp PG_DN &kp END +&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp PG_UP &kp BSLH +&trans &trans &trans &trans &trans &trans &mkp MB1 &mkp MB3 &mkp MB2 &kp HOME &kp PG_DN &kp END >; - sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &scroll_vertical_encoder >; + sensor-bindings = <&volume_encoder>, <&scroll_vertical_encoder>; }; - BT_layers { bindings = < &trans &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 &kp W From 4a73f5a9d08f215a5f4933e891b8621c0fbaa1c5 Mon Sep 17 00:00:00 2001 From: Ilya Savin Date: Thu, 5 Mar 2026 22:23:33 +0300 Subject: [PATCH 13/15] test --- config/cck_ball.keymap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/cck_ball.keymap b/config/cck_ball.keymap index 817a19f7..c25a8cb1 100644 --- a/config/cck_ball.keymap +++ b/config/cck_ball.keymap @@ -31,7 +31,7 @@ scroll_vertical_encoder: scroll_vertical_encoder { compatible = "zmk,behavior-sensor-rotate"; #sensor-binding-cells = <0>; - bindings = <&msc SCRL_DOWN>, <&msc SCRL_UP>; + bindings = <&msc SCRL_UP>, <&msc SCRL_DOWN>; tap-ms = <100>; }; From 86ff9f0ea87f3a99179d084a6e2d7bf7fd2e6695 Mon Sep 17 00:00:00 2001 From: Ilya Savin Date: Thu, 5 Mar 2026 22:41:01 +0300 Subject: [PATCH 14/15] test --- config/cck_ball.keymap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/cck_ball.keymap b/config/cck_ball.keymap index c25a8cb1..91ccf9cc 100644 --- a/config/cck_ball.keymap +++ b/config/cck_ball.keymap @@ -32,7 +32,7 @@ compatible = "zmk,behavior-sensor-rotate"; #sensor-binding-cells = <0>; bindings = <&msc SCRL_UP>, <&msc SCRL_DOWN>; - tap-ms = <100>; + tap-ms = <60>; }; // Left and right scroll encoder behavior @@ -72,7 +72,7 @@ F_layers { bindings = < &kp F12 &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp MINUS &kp EQL &kp F11 -&kp TILDE &trans &trans &trans &trans &trans &trans &trans &trans &kp F9 &kp F10 &kp PIPE +&kp GRAVE &trans &trans &trans &trans &trans &trans &trans &trans &kp F9 &kp F10 &kp NUBS &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp PG_UP &kp BSLH &trans &trans &trans &trans &trans &trans &mkp MB1 &mkp MB3 &mkp MB2 &kp HOME &kp PG_DN &kp END From 82c034a7d002d5d17a5ea625240dd953384e1caa Mon Sep 17 00:00:00 2001 From: Ilya Savin Date: Fri, 6 Mar 2026 10:05:12 +0300 Subject: [PATCH 15/15] v 0.1 --- config/cck_ball.keymap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/cck_ball.keymap b/config/cck_ball.keymap index 91ccf9cc..b738a041 100644 --- a/config/cck_ball.keymap +++ b/config/cck_ball.keymap @@ -72,8 +72,8 @@ F_layers { bindings = < &kp F12 &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp MINUS &kp EQL &kp F11 -&kp GRAVE &trans &trans &trans &trans &trans &trans &trans &trans &kp F9 &kp F10 &kp NUBS -&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans +&kp GRAVE &kp LBKT &kp RBKT &trans &trans &trans &trans &trans &trans &kp F9 &kp F10 &kp NUBS +&trans &trans &trans &trans &trans &trans &trans &trans &trans &kp K_LOCK &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp PG_UP &kp BSLH &trans &trans &trans &trans &trans &trans &mkp MB1 &mkp MB3 &mkp MB2 &kp HOME &kp PG_DN &kp END >;