From 8b7eeb0b9f364a4ff5bec44fe684d9692bb1d29c Mon Sep 17 00:00:00 2001 From: realet Date: Fri, 10 Jan 2025 16:13:22 -0500 Subject: [PATCH] swap x and y on both trackballs --- boards/shields/imprint/imprint.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/boards/shields/imprint/imprint.dtsi b/boards/shields/imprint/imprint.dtsi index 436ad0b..7d6d17d 100644 --- a/boards/shields/imprint/imprint.dtsi +++ b/boards/shields/imprint/imprint.dtsi @@ -1,4 +1,5 @@ #include +#include / { chosen { @@ -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>; }; };