Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 657a19eb authored by Eugeniy Meshcheryakov's avatar Eugeniy Meshcheryakov Committed by Linus Torvalds
Browse files

[PATCH] hwmon: hdaps missing an axis



Trivial patch to report both hdaps axises to the joystick device, not
just the X axis.

Signed-off-by: default avatarRobert Love <rml@novell.com>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 07eab46d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -570,7 +570,7 @@ static int __init hdaps_init(void)
	hdaps_idev->evbit[0] = BIT(EV_ABS);
	hdaps_idev->evbit[0] = BIT(EV_ABS);
	input_set_abs_params(hdaps_idev, ABS_X,
	input_set_abs_params(hdaps_idev, ABS_X,
			-256, 256, HDAPS_INPUT_FUZZ, HDAPS_INPUT_FLAT);
			-256, 256, HDAPS_INPUT_FUZZ, HDAPS_INPUT_FLAT);
	input_set_abs_params(hdaps_idev, ABS_X,
	input_set_abs_params(hdaps_idev, ABS_Y,
			-256, 256, HDAPS_INPUT_FUZZ, HDAPS_INPUT_FLAT);
			-256, 256, HDAPS_INPUT_FUZZ, HDAPS_INPUT_FLAT);


	input_register_device(hdaps_idev);
	input_register_device(hdaps_idev);