mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-02-03 02:22:32 +01:00
Merge pull request #179 from andersfischernielsen/jay
Added PID for new DS4 controller.
This commit is contained in:
commit
35d2a274b7
@ -31,7 +31,7 @@ namespace DS4Windows
|
|||||||
{
|
{
|
||||||
lock (Devices)
|
lock (Devices)
|
||||||
{
|
{
|
||||||
int[] pid = { 0xBA0, 0x5C4 };
|
int[] pid = { 0xBA0, 0x5C4, 0x09CC };
|
||||||
IEnumerable<HidDevice> hDevices = HidDevices.Enumerate(0x054C, pid);
|
IEnumerable<HidDevice> hDevices = HidDevices.Enumerate(0x054C, pid);
|
||||||
// Sort Bluetooth first in case USB is also connected on the same controller.
|
// Sort Bluetooth first in case USB is also connected on the same controller.
|
||||||
hDevices = hDevices.OrderBy<HidDevice, ConnectionType>((HidDevice d) => { return DS4Device.HidConnectionType(d); });
|
hDevices = hDevices.OrderBy<HidDevice, ConnectionType>((HidDevice d) => { return DS4Device.HidConnectionType(d); });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user