Skip to content

Commit

Permalink
Add mouse click event
Browse files Browse the repository at this point in the history
  • Loading branch information
BarbUk committed Jun 14, 2024
1 parent acd391f commit 2aedaf3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion config/m60.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

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

#define none &none
#define ____ &trans
Expand All @@ -21,6 +22,10 @@
#define __(KEY, TAP) &mt KEY TAP
// Layer macro
#define MO(LAYER) &mo LAYER
// Define Mouse button
#define LCLK &mkp LCLK
#define RCLK &mkp RCLK
#define MCLK &mkp MCLK

/ {

Expand Down Expand Up @@ -116,7 +121,7 @@ ____ ____ ____ ____
alt_layer {
bindings = <
none none none none none none none none none none _(C_ASPECT) _(C_BRI_DEC) _(C_BRI_INC) &sys_reset
none none none none none none none none none none none none none none
none none none none none none none LCLK MCLK RCLK none none none none
none none none none none none none none none none none none none
none none none none none &bootloader none none none none none none
none none none none none none none none
Expand Down

0 comments on commit 2aedaf3

Please sign in to comment.