Skip to content

Commit

Permalink
swap x and y on both trackballs
Browse files Browse the repository at this point in the history
  • Loading branch information
RealET committed Jan 10, 2025
1 parent 14c7085 commit 8b7eeb0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions boards/shields/imprint/imprint.dtsi
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <dt-bindings/zmk/matrix_transform.h>
#include <input/processors.dtsi>

/ {
chosen {
Expand Down Expand Up @@ -128,10 +129,12 @@ RC(2,6) RC(2,5) RC(2,4) RC(2,3) RC(2,2) RC(2,1) RC(9,1) RC(9,2)
compatible = "zmk,input-listener";
status = "disabled";
device = <&trackball_peripheral_split>;
input-processors = <&zip_xy_transform INPUT_TRANSFORM_XY_SWAP>;
};

trackball_central_listener: trackball_central_listener {
compatible = "zmk,input-listener";
status = "disabled";
input-processors = <&zip_xy_transform INPUT_TRANSFORM_XY_SWAP>;
};
};

0 comments on commit 8b7eeb0

Please sign in to comment.