mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-25 08:01:49 +01:00
Added PID for new DS4 controller.
This commit is contained in:
parent
5b87490644
commit
02c0c6564b
@ -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…
Reference in New Issue
Block a user