History

Input: xpad - add signature for Razer Onza Tournament Edition

Ilia Katsnelson committed 14 years ago

Commit cc71a7e1 parent 3ffb62c1 file · +3 −1Browse files

Unified · Split

drivers/input/joystick/xpad.c+3−1
@@ -164,6 +164,7 @@ static const struct xpad_device { · 163 unmodified lines
164 { 0x1bad, 0x0003, "Harmonix Rock Band Drumkit", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },164 { 0x1bad, 0x0003, "Harmonix Rock Band Drumkit", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
165 { 0x0f0d, 0x0016, "Hori Real Arcade Pro.EX", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },165 { 0x0f0d, 0x0016, "Hori Real Arcade Pro.EX", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
166 { 0x0f0d, 0x000d, "Hori Fighting Stick EX2", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },166 { 0x0f0d, 0x000d, "Hori Fighting Stick EX2", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
167 { 0x1689, 0xfd00, "Razer Onza Tournament Edition", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
167 { 0xffff, 0xffff, "Chinese-made Xbox Controller", 0, XTYPE_XBOX },168 { 0xffff, 0xffff, "Chinese-made Xbox Controller", 0, XTYPE_XBOX },
168 { 0x0000, 0x0000, "Generic X-Box pad", 0, XTYPE_UNKNOWN }169 { 0x0000, 0x0000, "Generic X-Box pad", 0, XTYPE_UNKNOWN }
169};170};
@@ -244,7 +245,8 @@ static struct usb_device_id xpad_table [] = { · 74 unmodified lines
244 XPAD_XBOX360_VENDOR(0x1430), /* RedOctane X-Box 360 controllers */245 XPAD_XBOX360_VENDOR(0x1430), /* RedOctane X-Box 360 controllers */
245 XPAD_XBOX360_VENDOR(0x146b), /* BigBen Interactive Controllers */246 XPAD_XBOX360_VENDOR(0x146b), /* BigBen Interactive Controllers */
246 XPAD_XBOX360_VENDOR(0x1bad), /* Harminix Rock Band Guitar and Drums */247 XPAD_XBOX360_VENDOR(0x1bad), /* Harminix Rock Band Guitar and Drums */
247 XPAD_XBOX360_VENDOR(0x0f0d), /* Hori Controllers */248 XPAD_XBOX360_VENDOR(0x0f0d), /* Hori Controllers */
249 XPAD_XBOX360_VENDOR(0x1689), /* Razer Onza */
248 { }250 { }
249};251};
250 252