Skip to content

Commit

Permalink
External power on and off
Browse files Browse the repository at this point in the history
  • Loading branch information
keymap-editor[bot] committed May 16, 2023
1 parent 78109a5 commit 3049ab4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
*/

#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/ext_power.h>
#include <dt-bindings/zmk/keys.h>

/ {
keymap {
Expand Down Expand Up @@ -35,9 +36,9 @@
// | GUI | | SPC | | ENT | | ALT |

bindings = <
&trans &kp C_MUTE &kp F &kp RALT &kp LGUI &trans &kp RA(LEFT) &kp LG(LBKT) &kp LG(RBKT) &kp RA(RIGHT) &kp N0 &kp BSPC
&trans &kp C_VOL_UP &trans &kp LA(BACKSPACE) &trans &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &trans
&trans &kp C_VOLUME_DOWN &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &trans &trans &kp RA(BSPC) &trans &trans &trans &bt BT_CLR
&trans &kp C_MUTE &kp F &kp RALT &kp LGUI &trans &kp RA(LEFT) &kp LG(LBKT) &kp LG(RBKT) &kp RA(RIGHT) &kp N0 &kp BSPC
&trans &kp C_VOL_UP &trans &kp LA(BACKSPACE) &trans &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &trans
&trans &kp C_VOLUME_DOWN &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &trans &trans &kp RA(BSPC) &trans &trans &trans &ext_power EP_TOG
&kp LGUI &trans &kp SPACE &kp RET &trans &kp RALT
>;
};
Expand Down

0 comments on commit 3049ab4

Please sign in to comment.