mirror of
https://github.com/Ajetski/corne-zmk-config.git
synced 2025-11-27 13:22:44 -10:00
Update corne.keymap
This commit is contained in:
parent
367a17b3d1
commit
4f6016a599
@ -35,7 +35,21 @@
|
|||||||
delay-ms = <0>; // 10
|
delay-ms = <0>; // 10
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
rgb_encoder: rgb_encoder {
|
||||||
|
compatible = "zmk,behavior-sensor-rotate";
|
||||||
|
label = "RGB_ENCODER";
|
||||||
|
#sensor-binding-cells = <0>;
|
||||||
|
bindings = <&rgb_ug RGB_BRI>, <&rgb_ug RGB_BRD>;
|
||||||
|
};
|
||||||
|
|
||||||
|
scroll_encoder: scroll_encoder {
|
||||||
|
compatible = "zmk,behavior-sensor-rotate";
|
||||||
|
#sensor-binding-cells = <0>;
|
||||||
|
bindings = <&msc SCRL_UP>, <&msc SCRL_DOWN>;
|
||||||
|
|
||||||
|
tap-ms = <30>;
|
||||||
|
};
|
||||||
|
};
|
||||||
keymap {
|
keymap {
|
||||||
compatible = "zmk,keymap";
|
compatible = "zmk,keymap";
|
||||||
|
|
||||||
@ -79,7 +93,7 @@
|
|||||||
>;
|
>;
|
||||||
|
|
||||||
label = "NUMBER";
|
label = "NUMBER";
|
||||||
sensor-bindings = <&inc_dec_kp RIGHT_ARROW LEFT_ARROW>;
|
sensor-bindings = <&rgb_encoder >;
|
||||||
};
|
};
|
||||||
|
|
||||||
raise_layer {
|
raise_layer {
|
||||||
@ -100,7 +114,7 @@
|
|||||||
>;
|
>;
|
||||||
|
|
||||||
label = "SYMBOL";
|
label = "SYMBOL";
|
||||||
sensor-bindings = <&inc_dec_kp RIGHT_ARROW LEFT_ARROW>;
|
sensor-bindings = <&scroll_encoder>;
|
||||||
};
|
};
|
||||||
|
|
||||||
layer_3 {
|
layer_3 {
|
||||||
@ -114,7 +128,7 @@
|
|||||||
>;
|
>;
|
||||||
|
|
||||||
label = "FN";
|
label = "FN";
|
||||||
sensor-bindings = <&inc_dec_kp RIGHT_ARROW LEFT_ARROW>;
|
sensor-bindings = <&scroll_encoder>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user