Skip to content

Commit 99eb1df

Browse files
macromorgangregkh
authored andcommitted
arm64: dts: rockchip: Correct Joystick Axes on Gameforce Ace
[ Upstream commit c337c1b ] The Gameforce Ace's joystick axes were set incorrectly initially, getting the X/Y and RX/RY axes backwards. Additionally, correct the RY axis so that it is inverted. All axes tested with evtest and outputting correct values. Fixes: 4e946c4 ("arm64: dts: rockchip: Add GameForce Ace") Reported-by: sydarn <sydarn@proton.me> Signed-off-by: Chris Morgan <macromorgan@hotmail.com> Link: https://patch.msgid.link/20260310134919.550023-1-macroalpha82@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent fd16a9e commit 99eb1df

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3588s-gameforce-ace.dts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,32 +60,32 @@
6060
reg = <0>;
6161
abs-flat = <40>;
6262
abs-fuzz = <30>;
63-
abs-range = <0 4095>;
64-
linux,code = <ABS_RX>;
63+
abs-range = <4095 0>;
64+
linux,code = <ABS_RY>;
6565
};
6666

6767
axis@1 {
6868
reg = <1>;
6969
abs-flat = <40>;
7070
abs-fuzz = <30>;
7171
abs-range = <0 4095>;
72-
linux,code = <ABS_RY>;
72+
linux,code = <ABS_RX>;
7373
};
7474

7575
axis@2 {
7676
reg = <2>;
7777
abs-flat = <40>;
7878
abs-fuzz = <30>;
7979
abs-range = <0 4095>;
80-
linux,code = <ABS_Y>;
80+
linux,code = <ABS_X>;
8181
};
8282

8383
axis@3 {
8484
reg = <3>;
8585
abs-flat = <40>;
8686
abs-fuzz = <30>;
8787
abs-range = <0 4095>;
88-
linux,code = <ABS_X>;
88+
linux,code = <ABS_Y>;
8989
};
9090
};
9191

0 commit comments

Comments
 (0)