.. | .. |
---|
262 | 262 | { 0x1430, 0xf801, "RedOctane Controller", 0, XTYPE_XBOX360 }, |
---|
263 | 263 | { 0x146b, 0x0601, "BigBen Interactive XBOX 360 Controller", 0, XTYPE_XBOX360 }, |
---|
264 | 264 | { 0x146b, 0x0604, "Bigben Interactive DAIJA Arcade Stick", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 }, |
---|
265 | | - { 0x1532, 0x0037, "Razer Sabertooth", 0, XTYPE_XBOX360 }, |
---|
266 | 265 | { 0x1532, 0x0a00, "Razer Atrox Arcade Stick", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOXONE }, |
---|
267 | 266 | { 0x1532, 0x0a03, "Razer Wildcat", 0, XTYPE_XBOXONE }, |
---|
268 | 267 | { 0x15e4, 0x3f00, "Power A Mini Pro Elite", 0, XTYPE_XBOX360 }, |
---|
.. | .. |
---|
488 | 487 | .len = ARRAY_SIZE(_data), \ |
---|
489 | 488 | } |
---|
490 | 489 | |
---|
| 490 | + |
---|
| 491 | +#define GIP_WIRED_INTF_DATA 0 |
---|
| 492 | +#define GIP_WIRED_INTF_AUDIO 1 |
---|
491 | 493 | |
---|
492 | 494 | /* |
---|
493 | 495 | * This packet is required for all Xbox One pads with 2015 |
---|
.. | .. |
---|
1813 | 1815 | } |
---|
1814 | 1816 | |
---|
1815 | 1817 | if (xpad->xtype == XTYPE_XBOXONE && |
---|
1816 | | - intf->cur_altsetting->desc.bInterfaceNumber != 0) { |
---|
| 1818 | + intf->cur_altsetting->desc.bInterfaceNumber != GIP_WIRED_INTF_DATA) { |
---|
1817 | 1819 | /* |
---|
1818 | 1820 | * The Xbox One controller lists three interfaces all with the |
---|
1819 | 1821 | * same interface class, subclass and protocol. Differentiate by |
---|