DS4Windows.HidDevices.GetDevice C# (CSharp) Method

GetDevice() public static method

public static GetDevice ( string devicePath ) : HidDevice
devicePath string
return HidDevice
        public static HidDevice GetDevice(string devicePath)
        {
            return Enumerate(devicePath).FirstOrDefault();
        }