diff mbox

input/iforce: Assign correct buttons to the WingMan FF

Message ID 20180721114604.4267-1-timschumi@gmx.de (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Tim Schumacher July 21, 2018, 11:46 a.m. UTC
The WingMan Formula Force wheel does only have a gear up, a gear down
and four other buttons. Switching to the btn_avb_wheel set of buttons
corrects the names of the used bindings and removes many unused ones,
leaving it with only two unused button assignments.

Signed-off-by: Tim Schumacher <timschumi@gmx.de>
---
 drivers/input/joystick/iforce/iforce-main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/input/joystick/iforce/iforce-main.c b/drivers/input/joystick/iforce/iforce-main.c
index daeeb4c7e3b0..054abed0fdc1 100644
--- a/drivers/input/joystick/iforce/iforce-main.c
+++ b/drivers/input/joystick/iforce/iforce-main.c
@@ -72,7 +72,7 @@  static signed short ff_iforce[] =
 static struct iforce_device iforce_device[] = {
 	{ 0x044f, 0xa01c, "Thrustmaster Motor Sport GT",		btn_wheel, abs_wheel, ff_iforce },
 	{ 0x046d, 0xc281, "Logitech WingMan Force",			btn_joystick, abs_joystick, ff_iforce },
-	{ 0x046d, 0xc291, "Logitech WingMan Formula Force",		btn_wheel, abs_wheel, ff_iforce },
+	{ 0x046d, 0xc291, "Logitech WingMan Formula Force",		btn_avb_wheel, abs_wheel, ff_iforce },
 	{ 0x05ef, 0x020a, "AVB Top Shot Pegasus",			btn_avb_pegasus, abs_avb_pegasus, ff_iforce },
 	{ 0x05ef, 0x8884, "AVB Mag Turbo Force",			btn_avb_wheel, abs_wheel, ff_iforce },
 	{ 0x05ef, 0x8888, "AVB Top Shot Force Feedback Racing Wheel",	btn_avb_tw, abs_wheel, ff_iforce }, //?