Skip to content

Commit

Permalink
keymap: dynamic: Drop brightness
Browse files Browse the repository at this point in the history
* No body like it :(
  • Loading branch information
xingrz committed Sep 20, 2023
1 parent 2e535c5 commit 7a0153d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 11 deletions.
1 change: 0 additions & 1 deletion config/boards/arm/hw75_dynamic/app/screen/icons.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ICON_VOL,f1ae
ICON_BRI,f198
ICON_SCR,f193
ICON_CALI,f183
ICON_ERROR,f134
1 change: 0 additions & 1 deletion config/boards/arm/hw75_dynamic/app/screen/layer_status.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ LV_FONT_DECLARE(zfull_9);

static const char *layer_icons[KEYMAP_LAYERS_NUM] = {
ICON_VOL,
ICON_BRI,
ICON_SCR,
};

Expand Down
1 change: 0 additions & 1 deletion config/boards/arm/hw75_dynamic/app/screen/strings.csv
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
STRING_LAYER_VOL,音量
STRING_LAYER_BRI,亮度
STRING_LAYER_SCR,滚动
STRING_KNOB_CALIB,电机校准中
STRING_KNOB_CALIB_FAIL,校准失败
10 changes: 2 additions & 8 deletions config/hw75_dynamic.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -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)>;
Expand Down

0 comments on commit 7a0153d

Please sign in to comment.