Skip to content

Commit

Permalink
Add media layer.
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Apr 11, 2022
1 parent a6c741c commit 8c112b2
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion boards/arm/zaphod/zaphod.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
#define OTH_L 2
#define NUM_L 3
#define SYM_L 4
#define FUN_L 5
#define MED_L 5
#define FUN_L 6

// Using layer taps on thumbs, having quick tap as well helps w/ repeating space/backspace
&lt { quick_tap_ms = <200>; };
Expand All @@ -22,11 +23,18 @@
combos {
compatible = "zmk,combos";

med_mo {
timeout-ms = <50>;
key-positions = <30 31>;
bindings = <&mo MED_L>;
};

fn_mo {
timeout-ms = <50>;
key-positions = <32 33>;
bindings = <&mo FUN_L>;
};

};

behaviors {
Expand Down Expand Up @@ -93,6 +101,16 @@
>;
};

media_layer {
label = "Media";
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &kp C_PREV &kp C_VOL_DN &kp C_VOL_UP &kp C_NEXT
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &kp C_STOP &kp C_PLAY_PAUSE
>;
};

fun_layer {
label = "Fun";
bindings = <
Expand Down

0 comments on commit 8c112b2

Please sign in to comment.