Skip to content

Commit

Permalink
Update charybdis.keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
stylustrader authored Dec 31, 2024
1 parent a55cda9 commit f32a861
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions config/charybdis.keymap
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/mouse.h>

#include <dt-bindings/zmk/mouse.h>
#include <behaviors/mouse_keys.dtsi>
#include <dt-bindings/zmk/pointing.h>
Expand All @@ -28,7 +26,7 @@
/* input config for mouse move mode */
trackball_listener {
compatible = "zmk,input-behavior-listener";
device = <&vtrackball>;
device = <&trackball>;
layers = <6>; // adjust these layer numbers to match your layout
evt-type = <INPUT_EV_REL>;
x-input-code = <INPUT_REL_X>;
Expand All @@ -40,7 +38,7 @@
/* input config for snipe mode */
trackball_snipe_listener {
compatible = "zmk,input-behavior-listener";
device = <&vtrackball>;
device = <&trackball>;
layers = <6>; // adjust this layer number
evt-type = <INPUT_EV_REL>;
x-input-code = <INPUT_REL_X>;
Expand All @@ -52,7 +50,7 @@
/* input config for mouse scroll mode */
trackball_scroll_listener {
compatible = "zmk,input-behavior-listener";
device = <&vtrackball>;
device = <&trackball>;
layers = <6>; // adjust this layer number
evt-type = <INPUT_EV_REL>;
x-input-code = <INPUT_REL_MISC>;
Expand Down

0 comments on commit f32a861

Please sign in to comment.