Input: xpad - add Voyetra Turtle Beach PC Rematch Gamepad
Subsystems (2)
PATCH 1/1 Input: xpad - add Voyetra Turtle Beach PC Rematch Gamepad
From 4be43c8ce8bfae20bc6126f8c6a4aa4f8444812a Mon Sep 17 00:00:00 2001 Add support for the Voyetra Turtle Beach PC Rematch Gamepad, a triple-mode (wired, 2.4G wireless, Bluetooth) PC game controller. The VID 0x10F5 is already in the XPAD_XBOXONE_VENDOR whitelist (covering the GIP mode PIDs 0x6015 and 0x6016), but XInput support was missing.
Add XPAD_XBOX360_VENDOR(0x10F5) to xpad_table to enable XInput mode (both wired and wireless), and add xpad_device entries for all four PIDs to give them human-readable names:
- 0x6013: XInput wired (XTYPE_XBOX360)
- 0x6014: XInput wireless 2.4G (XTYPE_XBOX360W)
- 0x6015: GIP wired (XTYPE_XBOXONE)
- 0x6016: GIP wireless 2.4G (XTYPE_XBOXONE)
--- xpad.c | 5 +++++ 1 file changed, 5 insertions(+)
xpad.c +5 -0
@@ -319,6 +319,10 @@ static const struct xpad_device { { 0x102c, 0xff0c, "Joytech Wireless Advanced Controller", 0, XTYPE_XBOX }, { 0x1038, 0x1430, "SteelSeries Stratus Duo", 0, XTYPE_XBOX360 }, { 0x1038, 0x1431, "SteelSeries Stratus Duo", 0, XTYPE_XBOX360 }, + { 0x10f5, 0x6013, "PC Rematch Gamepad", 0, XTYPE_XBOX360 }, + { 0x10f5, 0x6014, "PC Rematch Gamepad (Wireless)", 0, XTYPE_XBOX360W }, + { 0x10f5, 0x6015, "PC Rematch Gamepad", 0, XTYPE_XBOXONE }, + { 0x10f5, 0x6016, "PC Rematch Gamepad (Wireless)", 0, XTYPE_XBOXONE }, { 0x10f5, 0x7005, "Turtle Beach Recon Controller", 0, XTYPE_XBOXONE }, { 0x11c9, 0x55f0, "Nacon GC-100XF", 0, XTYPE_XBOX360 }, { 0x11ff, 0x0511, "PXN V900", 0, XTYPE_XBOX360 },
@@ -558,6 +562,7 @@ static const struct usb_device_id xpad_table[] = {XPAD_XBOXONE_VENDOR (0x0f0d ),/* Hori controllers */ XPAD_XBOX360_VENDOR (0x1038 ),/* SteelSeries controllers */ XPAD_XBOXONE_VENDOR (0x10f5 ),/* Turtle Beach Controllers */ +XPAD_XBOX360_VENDOR (0x10f5 ),/* Turtle Beach Controllers */ XPAD_XBOX360_VENDOR (0x11c9 ),/* Nacon GC100XF */ XPAD_XBOX360_VENDOR (0x11ff ),/* PXN V900 */ XPAD_XBOX360_VENDOR(0x1209), /* Ardwiino Controllers */
Signature · 1 line
2.54.0.windows.1
Greg KH
maintainerQuoted 1 line · Dongxu Su
From
4be43c8ce8bfae20bc6126f8c6a4aa4f8444812aMon Sep 17 00:00:00 2001
Something went really wrong here.
Perhaps use the tool b4 to send patches out properly so they don't get corrupted?
thanks,
greg k-h