Skip to content

Commit

Permalink
add tb listener
Browse files Browse the repository at this point in the history
  • Loading branch information
mkonji008 committed Nov 5, 2024
1 parent 9c15746 commit 85b19b5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config/charybdis.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@
#include <dt-bindings/zmk/outputs.h>

/ {
trackball_listener {
compatible = "zmk,input-behavior-listener";
device = <&vtrackball>;
layers = <0 2 3 4 5>;
evt-type = <INPUT_EV_REL>;
x-input-code = <INPUT_REL_X>;
y-input-code = <INPUT_REL_Y>;
scale-multiplier = <1>;
scale-divisor = <4>;
};

trackball_snipe_listener {
compatible = "zmk,input-behavior-listener";
device = <&vtrackball>;
Expand Down

0 comments on commit 85b19b5

Please sign in to comment.