Merge pull request #179 from andersfischernielsen/jay

Added PID for new DS4 controller.
This commit is contained in:
Jays2Kings 2016-10-08 21:18:56 -04:00 committed by GitHub
commit 35d2a274b7

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); });