Skip to contentSkip to conversation

Add Razer Onza USB ID to xpad

PATCH New Kevin Mack 1 participant 1 message Jun 24, 2012 Input drivers

lore
Share & tools
lore

Kevin Mack

author
#0 lore raw

PATCH 1/1 Add Razer Onza USB ID to xpad

This adds the ID for the Razer Onza Tournament Edition.

drivers/input/joystick/xpad.c renamed from drivers/input/joystick/xpad.c.bak +2 -0
@@ -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 */
 	{ }
 };