* [PATCH] arm64: dts: rockchip: Correct Joystick Axes on Gameforce Ace
@ 2026-03-10 13:49 Chris Morgan
2026-03-12 20:00 ` Heiko Stuebner
0 siblings, 1 reply; 2+ messages in thread
From: Chris Morgan @ 2026-03-10 13:49 UTC (permalink / raw)
To: devicetree
Cc: linux-rockchip, heiko, conor+dt, krzk+dt, robh, Chris Morgan,
sydarn
From: Chris Morgan <macromorgan@hotmail.com>
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: 4e946c447a04 ("arm64: dts: rockchip: Add GameForce Ace")
Reported-by: sydarn <sydarn@proton.me>
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
arch/arm64/boot/dts/rockchip/rk3588s-gameforce-ace.dts | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-gameforce-ace.dts b/arch/arm64/boot/dts/rockchip/rk3588s-gameforce-ace.dts
index e8ad525ba3f9..b69d7aa0b2f1 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588s-gameforce-ace.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-gameforce-ace.dts
@@ -60,8 +60,8 @@ axis@0 {
reg = <0>;
abs-flat = <40>;
abs-fuzz = <30>;
- abs-range = <0 4095>;
- linux,code = <ABS_RX>;
+ abs-range = <4095 0>;
+ linux,code = <ABS_RY>;
};
axis@1 {
@@ -69,7 +69,7 @@ axis@1 {
abs-flat = <40>;
abs-fuzz = <30>;
abs-range = <0 4095>;
- linux,code = <ABS_RY>;
+ linux,code = <ABS_RX>;
};
axis@2 {
@@ -77,7 +77,7 @@ axis@2 {
abs-flat = <40>;
abs-fuzz = <30>;
abs-range = <0 4095>;
- linux,code = <ABS_Y>;
+ linux,code = <ABS_X>;
};
axis@3 {
@@ -85,7 +85,7 @@ axis@3 {
abs-flat = <40>;
abs-fuzz = <30>;
abs-range = <0 4095>;
- linux,code = <ABS_X>;
+ linux,code = <ABS_Y>;
};
};
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: rockchip: Correct Joystick Axes on Gameforce Ace
2026-03-10 13:49 [PATCH] arm64: dts: rockchip: Correct Joystick Axes on Gameforce Ace Chris Morgan
@ 2026-03-12 20:00 ` Heiko Stuebner
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2026-03-12 20:00 UTC (permalink / raw)
To: devicetree, Chris Morgan
Cc: Heiko Stuebner, linux-rockchip, conor+dt, krzk+dt, robh,
Chris Morgan, sydarn
On Tue, 10 Mar 2026 08:49:19 -0500, Chris Morgan wrote:
> 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.
>
>
> [...]
Applied, thanks!
[1/1] arm64: dts: rockchip: Correct Joystick Axes on Gameforce Ace
commit: 2ed11ad1c2b4c191cb2ed6741be127eb99f8634f
Best regards,
--
Heiko Stuebner <heiko@sntech.de>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-12 20:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-10 13:49 [PATCH] arm64: dts: rockchip: Correct Joystick Axes on Gameforce Ace Chris Morgan
2026-03-12 20:00 ` Heiko Stuebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox