Beispiel #1
0
        public static SP_DRVINFO_DATA GetViGemBusDriverInfo()
        {
            var flags  = DIGCF.DIGCF_PRESENT | DIGCF.DIGCF_DEVICEINTERFACE;
            var driver = DeviceDetector.GetDrivers(GUID_DEVINTERFACE_BUSENUM_VIGEM, flags).FirstOrDefault();

            return(driver);
        }
Beispiel #2
0
        public static SP_DRVINFO_DATA GetHidGuardianDriverInfo()
        {
            var driver = DeviceDetector.GetDrivers(DEVCLASS.SYSTEM, DIGCF.DIGCF_PRESENT, SPDIT.SPDIT_COMPATDRIVER, null, HidGuardianHardwareId).FirstOrDefault();

            return(driver);
        }