Skip to content

Commit

Permalink
Update cradio.keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonbheadley authored Oct 25, 2023
1 parent 3d1f24a commit 51ac745
Showing 1 changed file with 18 additions and 21 deletions.
39 changes: 18 additions & 21 deletions config/cradio.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/mouse.h>
// #include <dt-bindings/zmk/mouse.h>

#define DEFAULT 0
#define ALTLAYOUT 1
#define MACRO 2
#define GAME 3
#define MOUSE 4
#define NAV 5
#define SYMB 6
#define NUMB 7
#define MEDIA 8
#define NAV 4
#define SYMB 5
#define NUMB 6
#define MEDIA 7
// #define MOUSE 8

&sk {
release-after-ms = <500>;
Expand All @@ -28,10 +28,6 @@
release-after-ms = <500>;
};

// &lt {
// flavor = "hold-preferred";
// };

&mmv {
time-to-max-speed-ms = <1000>;
acceleration-exponent=<1>;
Expand Down Expand Up @@ -155,7 +151,7 @@
bindings = <
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp QUOT
&kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp P
&lt MOUSE Z &kp X &kp C &kp V &kp B &kp N &kp M &kp CMMA &kp DOT &kp FSLH
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp CMMA &kp DOT &kp FSLH
&ml NAV LGUI &ml NUMB LSFT &mo SYMB &lt MACRO SPC
>;
};
Expand Down Expand Up @@ -185,7 +181,7 @@
bindings = <
&kp B &kp Y &kp O &kp U &kp Z &kp QUOT &kp L &kp D &kp W &kp V
&kp C &kp I &kp E &kp A &kp CMMA &kp DOT &kp H &kp T &kp S &kp N
&tlt MOUSE G &kp X &kp J &kp K &kp FSLH &kp Q &kp R &kp M &kp F &kp P
&kp G &kp X &kp J &kp K &kp FSLH &kp Q &kp R &kp M &kp F &kp P
&ml NAV LGUI &ml NUMB LSFT &mo SYMB &kp SPC
>;
};
Expand All @@ -208,15 +204,6 @@
>;
};

mouse_layer {
bindings = <
&tog MOUSE &kp RALT &kp LC(LEFT) &kp LC(RIGHT) &kp LC(UP) &kp PG_UP &mwh SCROLL_VERT(-40) &mouse_u &mkp MCLK &mkp MB5
&kp LCTL &kp LALT &kp LGUI &kp LSFT &kp SPC &kp PG_DN &mouse_l &mouse_d &mouse_r &tog MOUSE
&kp ESC &kp LC(DOWN) &kp LG(C) &kp LG(V) &kp BKSP &kp LC(UP) &mwh SCROLL_VERT(40) &mwh SCROLL_HOR(40) &mwh SCROLL_HOR(-40) &mkp MB4
&trans &trans &mkp RCLK &mkp LCLK
>;
};

nav_layer {
bindings = <
&kp CAPS &kp RALT &key_repeat &caps_word &reset &kp PG_UP &kp LG(LBKT) &kp UP &kp LG(RBKT) &to ALTLAYOUT
Expand Down Expand Up @@ -252,5 +239,15 @@
&bt BT_SEL 0 &bt BT_NXT &trans &kp BKSP
>;
};

// mouse_layer {
// bindings = <
// &tog MOUSE &kp RALT &kp LC(LEFT) &kp LC(RIGHT) &kp LC(UP) &kp PG_UP &mwh SCROLL_VERT(-40) &mouse_u &mkp MCLK &mkp MB5
// &kp LCTL &kp LALT &kp LGUI &kp LSFT &kp SPC &kp PG_DN &mouse_l &mouse_d &mouse_r &tog MOUSE
// &kp ESC &kp LC(DOWN) &kp LG(C) &kp LG(V) &kp BKSP &kp LC(UP) &mwh SCROLL_VERT(40) &mwh SCROLL_HOR(40) &mwh SCROLL_HOR(-40) &mkp MB4
// &trans &trans &mkp RCLK &mkp LCLK
// >;
// };

};
};

0 comments on commit 51ac745

Please sign in to comment.