|
14 | 14 | / { |
15 | 15 | macros { |
16 | 16 | tasks_forward: tasks-forward { |
17 | | - label = "TAKS_FORWARD"; |
18 | 17 | compatible = "zmk,behavior-macro"; |
19 | 18 | #binding-cells = <0>; |
20 | 19 | bindings = <¯o_press &kp LALT>, |
21 | 20 | <¯o_tap &kp TAB>, |
22 | 21 | <¯o_release &kp LALT>; |
| 22 | + display-name = "Tasks Forward"; |
23 | 23 | }; |
24 | 24 |
|
25 | 25 | tasks_backward: tasks-backward { |
26 | | - label = "TAKS_BACKWARD"; |
27 | 26 | compatible = "zmk,behavior-macro"; |
28 | 27 | #binding-cells = <0>; |
29 | 28 | bindings = <¯o_press &kp LALT>, |
30 | 29 | <¯o_press &kp LSHIFT>, |
31 | 30 | <¯o_tap &kp TAB>, |
32 | 31 | <¯o_release &kp LSHIFT>, |
33 | 32 | <¯o_release &kp LALT>; |
| 33 | + display-name = "Tasks Backward"; |
34 | 34 | }; |
35 | 35 | }; |
36 | 36 |
|
37 | 37 | behaviors { |
38 | 38 | switch_tasks: switch-tasks { |
39 | 39 | compatible = "zmk,behavior-sensor-rotate"; |
40 | | - label = "SWITCH_TASKS"; |
41 | 40 | #sensor-binding-cells = <0>; |
42 | 41 | bindings = <&tasks_forward>, <&tasks_backward>; |
43 | 42 | }; |
|
47 | 46 | compatible = "zmk,keymap-ext", "zmk,keymap"; |
48 | 47 |
|
49 | 48 | volume { |
50 | | - label = "音量"; |
| 49 | + display-name = "音量"; |
51 | 50 | icon = [EF 86 AE]; |
52 | 51 | bindings = <&lvkp LV_KEY_PREV &lvkp LV_KEY_NEXT>; |
53 | 52 | sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>; |
54 | 53 | }; |
55 | 54 |
|
56 | 55 | scroll { |
57 | | - label = "滚动"; |
| 56 | + display-name = "滚动"; |
58 | 57 | icon = [EF 86 8A]; |
59 | 58 | bindings = <&trans &trans>; |
60 | 59 | sensor-bindings = <&inc_dec_mw MW_DN(1) MW_UP(1)>; |
61 | 60 | }; |
62 | 61 |
|
63 | 62 | tasks { |
64 | | - label = "窗口"; |
| 63 | + display-name = "窗口"; |
65 | 64 | icon = [EF 85 9E]; |
66 | 65 | bindings = <&trans &trans>; |
67 | 66 | sensor-bindings = <&switch_tasks>; |
68 | 67 | profile = <&profile_spring>; |
69 | 68 | }; |
70 | 69 |
|
71 | 70 | arrow_vertical { |
72 | | - label = "上下"; |
| 71 | + display-name = "上下"; |
73 | 72 | icon = [EF 86 93]; |
74 | 73 | bindings = <&trans &trans>; |
75 | 74 | sensor-bindings = <&inc_dec_kp UP DOWN>; |
76 | 75 | }; |
77 | 76 |
|
78 | 77 | arrow_horizontal { |
79 | | - label = "左右"; |
| 78 | + display-name = "左右"; |
80 | 79 | icon = [EF 86 9C]; |
81 | 80 | bindings = <&trans &trans>; |
82 | 81 | sensor-bindings = <&inc_dec_kp LEFT RIGHT>; |
|
0 commit comments