Skip to content

Commit

Permalink
Corne: add ext_power on and off
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel2887 committed Jul 27, 2024
1 parent 9c9f419 commit 97779b4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <dt-bindings/zmk/mouse.h>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/outputs.h>
#include <dt-bindings/zmk/ext_power.h>

// TODO: try to move these to a zmk-config corne.dtsi so that I can use these in layer definition for PIM447
#define DEFAULT 0
Expand Down Expand Up @@ -360,9 +361,9 @@

mouse_layer {
bindings = <
&none &none &none &none &none &none /*|*/ &msc MOVE_DOWN &msc MOVE_LEFT &mmv MOVE_UP &msc MOVE_RIGHT &none &none
&none &none &none &none &none &none /*|*/ &msc MOVE_DOWN &msc MOVE_LEFT &mmv MOVE_UP &msc MOVE_RIGHT &none &ext_power EP_OFF
&none &none &kp LSFT &none &PIM447_SCROLL_MOVE &none /*|*/ &msc MOVE_UP &mmv MOVE_LEFT &mmv MOVE_DOWN &mmv MOVE_RIGHT &none &none
&none &none &none &none &none &none /*|*/ &none &none &none &none &none &none
&none &none &none &none &none &none /*|*/ &none &none &none &none &none &ext_power EP_ON
&kp LGUI &kp LALT &kp LCTRL /*|*/ &mkp LCLK &mkp MCLK &mkp RCLK
>;
};
Expand Down

0 comments on commit 97779b4

Please sign in to comment.