Update corne.keymap

This commit is contained in:
1218 2024-09-08 02:40:24 +08:00 committed by GitHub
parent bc8f7af48b
commit 59a6df14fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,7 @@
#include <dt-bindings/zmk/mouse.h> #include <dt-bindings/zmk/mouse.h>
#include <dt-bindings/zmk/outputs.h> #include <dt-bindings/zmk/outputs.h>
#include <dt-bindings/zmk/rgb.h> #include <dt-bindings/zmk/rgb.h>
#include <behaviors/mouse_keys.dtsi>
#define ZMK_MOUSE_DEFAULT_MOVE_VAL 1200 // 600 #define ZMK_MOUSE_DEFAULT_MOVE_VAL 1200 // 600
#define ZMK_MOUSE_DEFAULT_SCRL_VAL 20 // 10 #define ZMK_MOUSE_DEFAULT_SCRL_VAL 20 // 10
@ -78,7 +79,7 @@
>; >;
label = "NUMBER"; label = "NUMBER";
sensor-bindings = <&inc_dec_kp PG_UP PG_DN>; sensor-bindings = <&inc_dec_kp RIGHT_ARROW LEFT_ARROW>;
}; };
raise_layer { raise_layer {
@ -97,6 +98,8 @@
&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
>; >;
label = "SYMBOL";
sensor-bindings = <&inc_dec_kp RIGHT_ARROW LEFT_ARROW>;
}; };
layer_3 { layer_3 {
@ -108,6 +111,8 @@
&kp C_MUTE &trans &trans &trans &mmv MOVE_RIGHT &trans &trans &trans &kp C_MUTE &trans &trans &trans &mmv MOVE_RIGHT &trans &trans &trans
&mkp LCLK &mkp LCLK
>; >;
label = "FN";
sensor-bindings = <&inc_dec_kp RIGHT_ARROW LEFT_ARROW>;
}; };
}; };
}; };