[PATCH] Add Razer Onza USB ID to xpad

From: Kevin Mack
Date: Sat Jun 23 2012 - 20:36:37 EST


This adds the ID for the Razer Onza Tournament Edition.


--- linux-3.4.2/drivers/input/joystick/xpad.c.bak 2012-06-09 09:36:33.000000000 -0600
+++ linux-3.4.2/drivers/input/joystick/xpad.c 2012-06-23 18:07:18.000000000 -0600
@@ -165,6 +165,7 @@
{ 0x0f0d, 0x0016, "Hori Real Arcade Pro.EX", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
{ 0x0f0d, 0x000d, "Hori Fighting Stick EX2", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
{ 0xffff, 0xffff, "Chinese-made Xbox Controller", 0, XTYPE_XBOX },
+ { 0x1689, 0xfd00, "Razer Onza TE", 0, XTYPE_XBOX360 },
{ 0x0000, 0x0000, "Generic X-Box pad", 0, XTYPE_UNKNOWN }
};

@@ -244,6 +245,7 @@
XPAD_XBOX360_VENDOR(0x146b), /* BigBen Interactive Controllers */
XPAD_XBOX360_VENDOR(0x1bad), /* Harminix Rock Band Guitar and Drums */
XPAD_XBOX360_VENDOR(0x0f0d), /* Hori Controllers */
+ XPAD_XBOX360_VENDOR(0x1689), /* Razer Controllers */
{ }
};

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/