mirror of
https://github.com/Ajetski/corne-zmk-config.git
synced 2025-11-27 14:42:44 -10:00
Updated corne.keymap
This commit is contained in:
parent
e215047d0d
commit
cc2c0b47ed
@ -1,7 +1,6 @@
|
|||||||
#include <behaviors/mouse_keys.dtsi>
|
#include <behaviors/mouse_keys.dtsi>
|
||||||
#include <behaviors.dtsi>
|
#include <behaviors.dtsi>
|
||||||
#include <dt-bindings/zmk/bt.h>
|
#include <dt-bindings/zmk/bt.h>
|
||||||
#include <dt-bindings/zmk/ext_power.h>
|
|
||||||
#include <dt-bindings/zmk/keys.h>
|
#include <dt-bindings/zmk/keys.h>
|
||||||
#include <dt-bindings/zmk/mouse.h>
|
#include <dt-bindings/zmk/mouse.h>
|
||||||
#include <dt-bindings/zmk/outputs.h>
|
#include <dt-bindings/zmk/outputs.h>
|
||||||
@ -36,7 +35,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
rgb_encoder: rgb_encoder {
|
rgb_encoder: rgb_encoder {
|
||||||
compatible = "zmk,behavior-sensor-rotate";
|
compatible = "zmk,behavior-sensor-rotate";
|
||||||
label = "RGB_ENCODER";
|
label = "RGB_ENCODER";
|
||||||
#sensor-binding-cells = <0>;
|
#sensor-binding-cells = <0>;
|
||||||
@ -46,7 +45,7 @@ rgb_encoder: rgb_encoder {
|
|||||||
scroll_encoder: scroll_encoder {
|
scroll_encoder: scroll_encoder {
|
||||||
compatible = "zmk,behavior-sensor-rotate";
|
compatible = "zmk,behavior-sensor-rotate";
|
||||||
#sensor-binding-cells = <0>;
|
#sensor-binding-cells = <0>;
|
||||||
bindings = <&msc SCRL_DOWN>,<&msc SCRL_UP>;
|
bindings = <&msc SCRL_DOWN>, <&msc SCRL_UP>;
|
||||||
|
|
||||||
tap-ms = <30>;
|
tap-ms = <30>;
|
||||||
};
|
};
|
||||||
@ -88,7 +87,7 @@ rgb_encoder: rgb_encoder {
|
|||||||
bindings = <
|
bindings = <
|
||||||
&trans &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &mmv MOVE_UP &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC
|
&trans &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &mmv MOVE_UP &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC
|
||||||
&trans &bt BT_CLR_ALL &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &mmv MOVE_DOWN &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp HOME &kp PG_UP
|
&trans &bt BT_CLR_ALL &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &mmv MOVE_DOWN &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp HOME &kp PG_UP
|
||||||
&trans &rgb_ug RGB_OFF &rgb_ug RGB_ON &ext_power EP_OFF &trans &rgb_ug RGB_EFF &mmv MOVE_LEFT &rgb_ug RGB_EFR &rgb_ug RGB_SPI &rgb_ug RGB_BRI &rgb_ug RGB_BRD &kp END &kp PG_DN
|
&trans &rgb_ug RGB_OFF &rgb_ug RGB_ON &trans &trans &rgb_ug RGB_EFF &mmv MOVE_LEFT &rgb_ug RGB_EFR &rgb_ug RGB_SPI &rgb_ug RGB_BRI &rgb_ug RGB_BRD &kp END &kp PG_DN
|
||||||
&kp C_MUTE &trans &trans &trans &mmv MOVE_RIGHT &kp INS &kp DEL &trans
|
&kp C_MUTE &trans &trans &trans &mmv MOVE_RIGHT &kp INS &kp DEL &trans
|
||||||
&mkp LCLK
|
&mkp LCLK
|
||||||
>;
|
>;
|
||||||
@ -108,7 +107,7 @@ rgb_encoder: rgb_encoder {
|
|||||||
|
|
||||||
bindings = <
|
bindings = <
|
||||||
&trans &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &mmv MOVE_UP &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &kp BSPC
|
&trans &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &mmv MOVE_UP &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &kp BSPC
|
||||||
&trans &none &mkp LCLK &mkp MCLK &mkp RCLK &mkp MB4 &mmv MOVE_DOWN &kp MINUS &kp EQUAL &kp LBKT &kp RBKT &kp BSLH &kp GRAVE
|
&trans &bt BT_CLR &mkp LCLK &mkp MCLK &mkp RCLK &mkp MB4 &mmv MOVE_DOWN &kp MINUS &kp EQUAL &kp LBKT &kp RBKT &kp BSLH &kp GRAVE
|
||||||
&trans &out OUT_USB &out OUT_BLE &none &none &mkp MB5 &mmv MOVE_LEFT &kp UNDER &kp PLUS &kp LBRC &kp RBRC &kp PIPE &kp TILDE
|
&trans &out OUT_USB &out OUT_BLE &none &none &mkp MB5 &mmv MOVE_LEFT &kp UNDER &kp PLUS &kp LBRC &kp RBRC &kp PIPE &kp TILDE
|
||||||
&trans &trans &trans &kp SPACE &mmv MOVE_RIGHT &kp RET &trans &trans
|
&trans &trans &trans &kp SPACE &mmv MOVE_RIGHT &kp RET &trans &trans
|
||||||
&mkp LCLK
|
&mkp LCLK
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user