Skip to content

Commit

Permalink
Updated corne.keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
keymap-editor[bot] committed Sep 7, 2024
1 parent ec1829b commit f0a71e5
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions config/corne.keymap
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#include <behaviors/mouse_keys.dtsi>
#include <behaviors.dtsi>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/ext_power.h>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/mouse.h>
#include <dt-bindings/zmk/outputs.h>
#include <dt-bindings/zmk/rgb.h>
#include <behaviors/mouse_keys.dtsi>

#define ZMK_MOUSE_DEFAULT_MOVE_VAL 1200 // 600
#define ZMK_MOUSE_DEFAULT_SCRL_VAL 20 // 10
Expand All @@ -14,7 +14,6 @@
#define U_MS_L &mmv MOVE_LEFT
#define U_MS_R &mmv MOVE_RIGHT


/ {
behaviors {
td0: td0 {
Expand Down Expand Up @@ -49,11 +48,12 @@
// | CTRL | Z | X | C | V | B | ← | N | M | , | . | / | ESC |
// | GUI | LWR | SPC | → | ENT | RSE | ALT |
// enter

bindings = <
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp UP_ARROW &kp Y &kp U &kp I &kp O &kp P &kp BSPC
&td0 &kp A &kp S &kp D &kp F &kp G &kp DOWN_ARROW &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp LEFT_ARROW &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp ESC
&kp SPACE &kp LGUI &mo 1 &lt 3 SPACE &kp RIGHT_ARROW &lt 3 ENTER &mo 2 &kp RALT
&kp TAB &kp Q &kp W &kp E &kp R &kp T &msc SCROLL_LEFT &kp Y &kp U &kp I &kp O &kp P &kp BSPC
&td0 &kp A &kp S &kp D &kp F &kp G &kp DOWN_ARROW &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp LEFT_ARROW &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp ESC
&kp SPACE &kp LGUI &mo 1 &lt 3 SPACE &kp RIGHT_ARROW &lt 3 ENTER &mo 2 &kp RALT
&kp ENTER
>;

Expand All @@ -71,15 +71,15 @@
// | GUI | | SPC | | ENT | | ALT |

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 &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 &trans &trans &trans &mmv MOVE_RIGHT &kp INS &kp DEL &trans
&mkp LCLK
&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 &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 &trans &trans &trans &mmv MOVE_RIGHT &kp INS &kp DEL &trans
&mkp LCLK
>;

label = "NUMBER";
sensor-bindings = <&inc_dec_kp RIGHT_ARROW LEFT_ARROW>;
sensor-bindings = <&inc_dec_kp RIGHT_ARROW LEFT_ARROW>;
};

raise_layer {
Expand All @@ -98,8 +98,9 @@
&trans &trans &trans &kp SPACE &mmv MOVE_RIGHT &kp RET &trans &trans
&mkp LCLK
>;
label = "SYMBOL";
sensor-bindings = <&inc_dec_kp RIGHT_ARROW LEFT_ARROW>;

label = "SYMBOL";
sensor-bindings = <&inc_dec_kp RIGHT_ARROW LEFT_ARROW>;
};

layer_3 {
Expand All @@ -111,8 +112,9 @@
&kp C_MUTE &trans &trans &trans &mmv MOVE_RIGHT &trans &trans &trans
&mkp LCLK
>;

label = "FN";
sensor-bindings = <&inc_dec_kp RIGHT_ARROW LEFT_ARROW>;
sensor-bindings = <&inc_dec_kp RIGHT_ARROW LEFT_ARROW>;
};
};
};

0 comments on commit f0a71e5

Please sign in to comment.