Skip to content

Commit

Permalink
Update cradio.keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonbheadley authored Nov 16, 2023
1 parent b43e36b commit 87a9826
Showing 1 changed file with 16 additions and 55 deletions.
71 changes: 16 additions & 55 deletions config/cradio.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@

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

&sk {
release-after-ms = <500>;
Expand Down Expand Up @@ -55,6 +54,13 @@
};

behaviors {
uspace: underscore_space {
compatible = "zmk,behavior-mod-morph";
label = "UNDERSCORE_SPACE";
#binding-cells = <0>;
bindings = <&kp SPC>, <&kp UNDER>;
mods = <(MOD_LSFT)>;
};
ml: mod_layer {
compatible = "zmk,behavior-hold-tap";
label = "MOD_LAYER";
Expand Down Expand Up @@ -111,50 +117,14 @@
// };
};

macros {
meh: meh {
label = "meh";
compatible = "zmk,behavior-macro-one-param";
#binding-cells = <1>;
wait-ms = <0>;
tap-ms = <0>;
bindings
= <&macro_press &kp LSHFT &kp LGUI &kp LALT>,
<&macro_param_1to1>,
<&macro_tap &kp 0>,
<&macro_release &kp LSHFT &kp LGUI &kp LALT>
;
};
the: the {
label = "mac_the";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
wait-ms = <0>;
tap-ms = <0>;
bindings
= <&kp T &kp H &kp E>
;
};
afn: afn {
label = "mac_arrow_function";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
wait-ms = <0>;
tap-ms = <0>;
bindings
= <&kp LPAR &kp RPAR &kp SPC &kp EQUAL &kp GT &kp SPC &kp LBRC>
;
};
};

keymap {
compatible = "zmk,keymap";
default_layer {
bindings = <
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp QUOT
&hrm LCTL A &hrm LALT S &hrm LGUI D &hrm LSFT F &kp G &kp H &hrm LSFT J &hrm LGUI K &hrm LALT L &hrm LCTL P
&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 &lt SYMB BKSP &hrm LSFT SPC
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp CMMA &kp DOT &kp ENTER
&lt NAV TAB &ml NUMB LSFT &lt SYMB BKSP &uspace
>;
};

Expand All @@ -168,15 +138,6 @@
>;
};

macros_layer {
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &the &trans &trans &meh J &meh K &meh L &meh P
&trans &trans &afn &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans
>;
};

game_layer {
bindings = <
&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp N1 &kp UP &kp N2 &kp BKSP
Expand All @@ -198,7 +159,7 @@
symbols_layer {
bindings = <
&kp PRCT &kp DLLR &kp HASH &kp ATSN &kp STAR &kp CRRT &kp DQT &kp GRAV &kp TILDE &sys_reset
&kp PIPE &kp AMPS &kp QMARK &kp BANG &kp PLUS &kp COLON &kp MINUS &kp UNDER &kp EQUAL &kp SEMI
&kp PIPE &kp AMPS &kp QMARK &kp BANG &kp PLUS &kp COLON &kp QUOT &kp MINUS &kp EQUAL &kp SEMI
&kp LT &kp LBKT &kp LPAR &kp LBRC &kp BSLH &kp FSLH &kp RBRC &kp RPAR &kp RBKT &kp GT
&kp LGUI &kp LSFT &trans &mo MEDIA
>;
Expand Down

0 comments on commit 87a9826

Please sign in to comment.