[PATCH] Added LMP Destiny Force feedback to iforce driver

From: Johann Deneux
Date: Mon Oct 24 2005 - 12:43:48 EST


Adds support for "LMP Destiny Force feedback" to the iforce driver.

Signed-off-by: Johann Deneux <johann.deneux@xxxxxxxx>


diff -uprN -X linux-2.6.13.4-vanilla/Documentation/dontdiff linux-2.6.13.4-vanilla/drivers/input/joystick/iforce/iforce-main.c linux-2.6.13.4-ff/drivers/input/joystick/iforce/iforce-main.c
--- linux-2.6.13.4-vanilla/drivers/input/joystick/iforce/iforce-main.c 2005-10-10 20:54:29.000000000 +0200
+++ linux-2.6.13.4-ff/drivers/input/joystick/iforce/iforce-main.c 2005-10-24 18:38:45.000000000 +0200
@@ -79,6 +79,7 @@ static struct iforce_device iforce_devic
{ 0x06f8, 0x0001, "Guillemot Race Leader Force Feedback", btn_wheel, abs_wheel, ff_iforce }, //?
{ 0x06f8, 0x0004, "Guillemot Force Feedback Racing Wheel", btn_wheel, abs_wheel, ff_iforce }, //?
{ 0x06f8, 0x0004, "Gullemot Jet Leader 3D", btn_joystick, abs_joystick, ff_iforce }, //?
+ { 0x06b6, 0x0001, "LMP Destiny Force Feedback Wheel", btn_wheel, abs_wheel, ff_iforce },
{ 0x0000, 0x0000, "Unknown I-Force Device [%04x:%04x]", btn_joystick, abs_joystick, ff_iforce }
};

diff -uprN -X linux-2.6.13.4-vanilla/Documentation/dontdiff linux-2.6.13.4-vanilla/drivers/input/joystick/iforce/iforce-usb.c linux-2.6.13.4-ff/drivers/input/joystick/iforce/iforce-usb.c
--- linux-2.6.13.4-vanilla/drivers/input/joystick/iforce/iforce-usb.c 2005-10-10 20:54:29.000000000 +0200
+++ linux-2.6.13.4-ff/drivers/input/joystick/iforce/iforce-usb.c 2005-10-24 18:39:29.000000000 +0200
@@ -230,6 +230,7 @@ static struct usb_device_id iforce_usb_i
{ USB_DEVICE(0x06f8, 0x0001) }, /* Guillemot Race Leader Force Feedback */
{ USB_DEVICE(0x06f8, 0x0004) }, /* Guillemot Force Feedback Racing Wheel */
{ USB_DEVICE(0x06f8, 0xa302) }, /* Guillemot Jet Leader 3D */
+ { USB_DEVICE(0x06b6, 0x0001) }, /* LMP Destiny Force Feedback Wheel */
{ } /* Terminating entry */
};


diff -uprN -X linux-2.6.13.4-vanilla/Documentation/dontdiff linux-2.6.13.4-vanilla/drivers/input/joystick/iforce/iforce-main.c linux-2.6.13.4-ff/drivers/input/joystick/iforce/iforce-main.c
--- linux-2.6.13.4-vanilla/drivers/input/joystick/iforce/iforce-main.c 2005-10-10 20:54:29.000000000 +0200
+++ linux-2.6.13.4-ff/drivers/input/joystick/iforce/iforce-main.c 2005-10-24 18:38:45.000000000 +0200
@@ -79,6 +79,7 @@ static struct iforce_device iforce_devic
{ 0x06f8, 0x0001, "Guillemot Race Leader Force Feedback", btn_wheel, abs_wheel, ff_iforce }, //?
{ 0x06f8, 0x0004, "Guillemot Force Feedback Racing Wheel", btn_wheel, abs_wheel, ff_iforce }, //?
{ 0x06f8, 0x0004, "Gullemot Jet Leader 3D", btn_joystick, abs_joystick, ff_iforce }, //?
+ { 0x06b6, 0x0001, "LMP Destiny Force Feedback Wheel", btn_wheel, abs_wheel, ff_iforce },
{ 0x0000, 0x0000, "Unknown I-Force Device [%04x:%04x]", btn_joystick, abs_joystick, ff_iforce }
};

diff -uprN -X linux-2.6.13.4-vanilla/Documentation/dontdiff linux-2.6.13.4-vanilla/drivers/input/joystick/iforce/iforce-usb.c linux-2.6.13.4-ff/drivers/input/joystick/iforce/iforce-usb.c
--- linux-2.6.13.4-vanilla/drivers/input/joystick/iforce/iforce-usb.c 2005-10-10 20:54:29.000000000 +0200
+++ linux-2.6.13.4-ff/drivers/input/joystick/iforce/iforce-usb.c 2005-10-24 18:39:29.000000000 +0200
@@ -230,6 +230,7 @@ static struct usb_device_id iforce_usb_i
{ USB_DEVICE(0x06f8, 0x0001) }, /* Guillemot Race Leader Force Feedback */
{ USB_DEVICE(0x06f8, 0x0004) }, /* Guillemot Force Feedback Racing Wheel */
{ USB_DEVICE(0x06f8, 0xa302) }, /* Guillemot Jet Leader 3D */
+ { USB_DEVICE(0x06b6, 0x0001) }, /* LMP Destiny Force Feedback Wheel */
{ } /* Terminating entry */
};