Skip to content

Commit

Permalink
Context Menu Macro
Browse files Browse the repository at this point in the history
  • Loading branch information
keymap-editor[bot] committed Oct 19, 2024
1 parent bc5cd7c commit a5b210d
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/mouse.h>

/ {
combos {
Expand Down Expand Up @@ -263,6 +264,16 @@
};
};

macros {
ContextMenu: ContextMenu {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&kp LS(F10)>, <&macro_wait_time 10>, <&kp HOME>;

label = "CONTEXTMENU";
};
};

keymap {
compatible = "zmk,keymap";

Expand Down Expand Up @@ -318,7 +329,7 @@
bindings = <
&trans &kp C_VOLUME_UP &kp HOME &kp UP &kp END &kp LC(HOME) &kp PAGE_UP &kp HOME &kp UP_ARROW &kp END &kp C_VOLUME_UP &none
&trans &kp C_VOLUME_DOWN &kp LEFT &kp DOWN &kp RIGHT &kp LC(END) &kp PAGE_DOWN &kp LEFT_ARROW &kp DOWN_ARROW &kp RIGHT &mt LEFT_WIN C_VOLUME_DOWN &none
&trans &kp C_MUTE &none &none &kp LC(BACKSPACE) &kp LC(DEL) &kp LC(BACKSPACE) &kp RC(DEL) &none &none &kp C_MUTE &none
&trans &kp C_MUTE &none &none &kp LC(BACKSPACE) &ContextMenu &kp LC(BACKSPACE) &kp RC(DEL) &mkp RCLK &none &kp C_MUTE &none
&kp LCTRL &kp LEFT_SHIFT &kp LEFT_ALT &kp LEFT_ALT &kp LEFT_SHIFT &kp LCTRL
>;
};
Expand Down

0 comments on commit a5b210d

Please sign in to comment.