From 565c7b7ea40f31a5512ffc9f8b98aa4b66d0d0c6 Mon Sep 17 00:00:00 2001 From: jdfeng Date: Sat, 21 Apr 2018 19:52:46 -0700 Subject: [PATCH] Add VID + PID for Hori PS4 Mini --- DS4Windows/DS4Library/DS4Devices.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/DS4Windows/DS4Library/DS4Devices.cs b/DS4Windows/DS4Library/DS4Devices.cs index f3c7563..4ff8d6e 100644 --- a/DS4Windows/DS4Library/DS4Devices.cs +++ b/DS4Windows/DS4Library/DS4Devices.cs @@ -31,12 +31,16 @@ namespace DS4Windows internal const int SONY_VID = 0x054C; internal const int RAZER_VID = 0x1532; internal const int NACON_VID = 0x146B; + internal const int HORI_VID = 0x0F0D; private static VidPidInfo[] knownDevices = { - new VidPidInfo(SONY_VID, 0xBA0), new VidPidInfo(SONY_VID, 0x5C4), - new VidPidInfo(SONY_VID, 0x09CC), new VidPidInfo(RAZER_VID, 0x1000), - new VidPidInfo(NACON_VID, 0x0D01) + new VidPidInfo(SONY_VID, 0xBA0), + new VidPidInfo(SONY_VID, 0x5C4), + 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)