arm64: dts: rockchip: Correct Joystick Axes on Gameforce Ace

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: 4e946c447a ("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>
This commit is contained in:
Chris Morgan 2026-03-10 08:49:19 -05:00 committed by Heiko Stuebner
parent c7079215b7
commit c337c1b561

View File

@ -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>;
};
};