mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-23 23:21:49 +01:00
Added Razer Raiju VID and PID combination. Moved arrays.
Related to issue #136.
This commit is contained in:
parent
076b1d0839
commit
c75cb3ba7b
@ -17,6 +17,8 @@ namespace DS4Windows
|
||||
private static List<HidDevice> DisabledDevices = new List<HidDevice>();
|
||||
private static Stopwatch sw = new Stopwatch();
|
||||
public static bool isExclusiveMode = false;
|
||||
private static int[] vids = { 0x054C, 0x1532 };
|
||||
private static int[] pid = { 0xBA0, 0x5C4, 0x09CC, 0x1000 };
|
||||
|
||||
private static string devicePathToInstanceId(string devicePath)
|
||||
{
|
||||
@ -37,8 +39,6 @@ namespace DS4Windows
|
||||
{
|
||||
lock (Devices)
|
||||
{
|
||||
int[] vids = { 0x054C };
|
||||
int[] pid = { 0xBA0, 0x5C4, 0x09CC };
|
||||
IEnumerable<HidDevice> hDevices = HidDevices.Enumerate(vids, 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); });
|
||||
|
Loading…
Reference in New Issue
Block a user