[PATCH] support USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_QUAD_USB_JOYPAD
Sam Liddicott <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
This adds support for WiseGroup Ltd, MP-8800 Quad Joypad after similar fashion for their dual joypad already supported. I haven't compiled the patch - I edited the binary module with a hex editor to fix-up the pci id (replaced 8866 of the supported dual joypad with 8800), and that worked for me giving support for multiple joysticks again - however the patch is obvious enough. - and a big thanks to whoever is behind putting all these quirks in the kernel avoiding unsightly per-library SDL-type hacks etc. Signed-off-by: Sam Liddicott <[email protected]> -- Sam ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
quad.diff
(text/x-patch, 1.1 KB)
--- linux-source-2.6.20/drivers/usb/input/hid-core.c.noquad 2007-04-10 06:42:02.000000000 +0100
+++ linux-source-2.6.20/drivers/usb/input/hid-core.c 2007-04-10 06:43:08.000000000 +0100
@@ -715,6 +715,7 @@
#define USB_DEVICE_ID_4_PHIDGETSERVO_20 0x8104
#define USB_DEVICE_ID_8_8_4_IF_KIT 0x8201
#define USB_DEVICE_ID_DUAL_USB_JOYPAD 0x8866
+#define USB_DEVICE_ID_QUAD_USB_JOYPAD 0x8800
#define USB_VENDOR_ID_WISEGROUP_LTD 0x6677
#define USB_DEVICE_ID_SMARTJOY_DUAL_PLUS 0x8802
@@ -932,6 +933,7 @@
{ USB_VENDOR_ID_ATEN, USB_DEVICE_ID_ATEN_4PORTKVMC, HID_QUIRK_NOGET },
{ USB_VENDOR_ID_SUN, USB_DEVICE_ID_RARITAN_KVM_DONGLE, HID_QUIRK_NOGET },
{ USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_DUAL_USB_JOYPAD, HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT },
+ { USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_QUAD_USB_JOYPAD, HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT },
{ USB_VENDOR_ID_WISEGROUP_LTD, USB_DEVICE_ID_SMARTJOY_DUAL_PLUS, HID_QUIRK_NOGET | HID_QUIRK_MULTI_INPUT },
{ USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_MIGHTYMOUSE, HID_QUIRK_MIGHTYMOUSE | HID_QUIRK_INVERT_HWHEEL },