diff --git a/config/boards/arm/hw75_dynamic/app/screen/icons.csv b/config/boards/arm/hw75_dynamic/app/screen/icons.csv index 5123ced5..b9e486c9 100644 --- a/config/boards/arm/hw75_dynamic/app/screen/icons.csv +++ b/config/boards/arm/hw75_dynamic/app/screen/icons.csv @@ -1,5 +1,4 @@ ICON_VOL,f1ae -ICON_BRI,f198 ICON_SCR,f193 ICON_CALI,f183 ICON_ERROR,f134 diff --git a/config/boards/arm/hw75_dynamic/app/screen/layer_status.c b/config/boards/arm/hw75_dynamic/app/screen/layer_status.c index 5d5ca24c..8fe8e945 100644 --- a/config/boards/arm/hw75_dynamic/app/screen/layer_status.c +++ b/config/boards/arm/hw75_dynamic/app/screen/layer_status.c @@ -37,7 +37,6 @@ LV_FONT_DECLARE(zfull_9); static const char *layer_icons[KEYMAP_LAYERS_NUM] = { ICON_VOL, - ICON_BRI, ICON_SCR, }; diff --git a/config/boards/arm/hw75_dynamic/app/screen/strings.csv b/config/boards/arm/hw75_dynamic/app/screen/strings.csv index 60e7bcb1..0c83ced5 100644 --- a/config/boards/arm/hw75_dynamic/app/screen/strings.csv +++ b/config/boards/arm/hw75_dynamic/app/screen/strings.csv @@ -1,5 +1,4 @@ STRING_LAYER_VOL,音量 -STRING_LAYER_BRI,亮度 STRING_LAYER_SCR,滚动 STRING_KNOB_CALIB,电机校准中 STRING_KNOB_CALIB_FAIL,校准失败 diff --git a/config/hw75_dynamic.keymap b/config/hw75_dynamic.keymap index 736122bd..f47fca9f 100644 --- a/config/hw75_dynamic.keymap +++ b/config/hw75_dynamic.keymap @@ -14,19 +14,13 @@ / { keymap { compatible = "zmk,keymap"; - layer_0 { + volume { label = "音量"; bindings = <&lvkp LV_KEY_PREV &lvkp LV_KEY_NEXT>; sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP>; }; - layer_1 { - label = "亮度"; - bindings = <&trans &trans>; - sensor-bindings = <&inc_dec_kp C_BRI_DEC C_BRI_INC>; - }; - - layer_2 { + scroll { label = "滚动"; bindings = <&trans &trans>; sensor-bindings = <&mw MW_UP(1) MW_DN(1)>;