mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 02:53:36 +02:00
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:
parent
c7079215b7
commit
c337c1b561
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user