Add VID + PID for Hori PS4 Mini

This commit is contained in:
jdfeng 2018-04-21 19:52:46 -07:00
parent bfdb81edd0
commit 565c7b7ea4

View File

@ -31,12 +31,16 @@ namespace DS4Windows
internal const int SONY_VID = 0x054C; internal const int SONY_VID = 0x054C;
internal const int RAZER_VID = 0x1532; internal const int RAZER_VID = 0x1532;
internal const int NACON_VID = 0x146B; internal const int NACON_VID = 0x146B;
internal const int HORI_VID = 0x0F0D;
private static VidPidInfo[] knownDevices = private static VidPidInfo[] knownDevices =
{ {
new VidPidInfo(SONY_VID, 0xBA0), new VidPidInfo(SONY_VID, 0x5C4), new VidPidInfo(SONY_VID, 0xBA0),
new VidPidInfo(SONY_VID, 0x09CC), new VidPidInfo(RAZER_VID, 0x1000), new VidPidInfo(SONY_VID, 0x5C4),
new VidPidInfo(NACON_VID, 0x0D01) new VidPidInfo(SONY_VID, 0x09CC),
new VidPidInfo(RAZER_VID, 0x1000),
new VidPidInfo(NACON_VID, 0x0D01),
new VidPidInfo(HORI_VID, 0x00EE) // Hori PS4 Mini Wired Gamepad
}; };
private static string devicePathToInstanceId(string devicePath) private static string devicePathToInstanceId(string devicePath)