Added PID for new DS4 controller.

This commit is contained in:
Anders Fischer-Nielsen 2016-10-05 18:18:59 +02:00
parent 5b87490644
commit 02c0c6564b

View File

@ -31,7 +31,7 @@ namespace DS4Windows
{
lock (Devices)
{
int[] pid = { 0xBA0, 0x5C4 };
int[] pid = { 0xBA0, 0x5C4, 0x09CC };
IEnumerable<HidDevice> hDevices = HidDevices.Enumerate(0x054C, pid);
// Sort Bluetooth first in case USB is also connected on the same controller.
hDevices = hDevices.OrderBy<HidDevice, ConnectionType>((HidDevice d) => { return DS4Device.HidConnectionType(d); });