; Copyright (c) Microsoft Corporation. All rights reserved. ; ; xinputhid.INF file ; [Version] Signature="$WINDOWS NT$" Class=HIDClass ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da} Provider=%ProviderName% PnpLockdown=1 DriverVer=08/19/2016,10.0.14393.103 [DestinationDirs] DefaultDestDir = 12 ; ================= Device section ===================== [Manufacturer] %ProviderName%=Microsoft,NTamd64 [Microsoft.NTamd64] %Bth_Bus.DeviceDesc%=Bth_Bus, BTHENUM\{00001124-0000-1000-8000-00805f9b34fb}_VID&0002045e_PID&02e0 ; From xboxgip default appears with an GIP software PID %VID_045E&PID_02D1.DeviceDesc%=GIP_Hid, HID\VID_045E&PID_02D1&IG_00 %VID_045E&PID_02DD.DeviceDesc%=GIP_Hid, HID\VID_045E&PID_02DD&IG_00 %VID_045E&PID_02E3.DeviceDesc%=GIP_Hid, HID\VID_045E&PID_02E3&IG_00 %VID_045E&PID_02EA.DeviceDesc%=GIP_Hid, HID\VID_045E&PID_02EA&IG_00 %GIP_Hid.DeviceDesc%=GIP_Hid, HID\VID_045E&PID_02FF&IG_00 ; Possibly scope to specific vendors, like HID\VID_045E&UP:0001_U:0005 for all MSFT HID game usage controllers ;%Managed_Hid.DeviceDesc%=Managed_Hid, HID_DEVICE_UP:0001_U:0005 ; ; Format for each DDInstall subsection/section is ; All DDInstall common overrides ; Last XInputHid reference ; XInputhid specific values referenced from above reference ; Next required subsection/section ; [Bth_Bus] Include=hidbth.inf Needs=HIDBTH_Inst.NT CopyFiles=XInput_Hid.CopyFiles AddReg=XInput_Hid.AddReg,Bth_Bus.AddReg [Managed_Hid] CopyFiles=XInput_Hid.CopyFiles AddReg=XInput_Hid.AddReg,Managed_Hid.AddReg [GIP_Hid] CopyFiles=XInput_Hid.CopyFiles AddReg=XInput_Hid.AddReg,GIP_Hid.AddReg ; Unused for reference [XInput_Hid] CopyFiles=XInput_Hid.CopyFiles AddReg=XInput_Hid.AddReg [XInput_Hid.CopyFiles] xinputhid.sys [XInput_Hid.AddReg] HKR,,"ConfigFlags", 0x00010001, 1 ; ; XInputHid property is a bitmask, from xinputhid.h ; Please keep in sync with xinputhid.h declaration ;// ;// Device properties to mark the type of device XInputHid is on top of ;// BusDevice means we're a focused bus filter driver for the IG_ problem ;// XInputCompatibleDevice means the device can be translated to XInput ;// GenericHidDevice means a device that is a HID device ;// GipRootedDevice means a device that is originated by GIP ;// ;typedef enum ;{ ; BusDevice = 0x1, ; XInputCompatibleDevice = 0x2, ; GenericHidDevice = 0x4, ; GipRootedDevice = 0x8 ;} XINPUTHID_DEVICEPROPERTY_FLAGS; ; [Bth_Bus.AddReg] HKR,,"DevicePropertyFlags", 0x00010001, 0x1 ; Unused for reference [XInput_Hid.AddReg] HKR,,"DevicePropertyFlags", 0x00010001, 0xE [Managed_Hid.AddReg] HKR,,"DevicePropertyFlags", 0x00010001, 0x4 [GIP_Hid.AddReg] HKR,,"DevicePropertyFlags", 0x00010001, 0xE ; copies of XInput_Hid for each DDInstall section [Bth_Bus.HW] Include=hidbth.inf Needs=HIDBTH_Inst.NT.HW AddReg=XInput_Hid.AddRegHW [Managed_Hid.HW] AddReg=XInput_Hid.AddRegHW [GIP_Hid.HW] AddReg=XInput_Hid.AddRegHW [XInput_Hid.HW] AddReg=XInput_Hid.AddRegHW [XInput_Hid.AddRegHW] HKR,,"UpperFilters",0x00010008,"xinputhid" ; REG_MULTI_SZ value ; copies of XInput_Hid for each DDInstall section [Bth_Bus.Services] Include=hidbth.inf Needs=HIDBTH_Inst.NT.Services AddService=xinputhid,,XInput_HidService ; filter driver [Managed_Hid.Services] AddService=xinputhid,,XInput_HidService ; filter driver [GIP_Hid.Services] AddService=xinputhid,,XInput_HidService ; filter driver [XInput_Hid.Services] AddService=xinputhid,,XInput_HidService ; filter driver [XInput_HidService] DisplayName = %xinputhid.SvcDesc% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary = %12%\xinputhid.sys AddReg = XInput_Hid.AddReg LoadOrderGroup = Base ;********************************************************************** ; Destination directories ;********************************************************************** [DestinationDirs] CopyFile.Sys = 12 [SourceDisksNames] 1=%Disk_Description%,, [SourceDisksFiles] xinputhid.sys = 1 ;---------------------------------------------------------------; [Strings] ProviderName = "Microsoft" Disk_Description = "XINPUT HID Filter Driver Installation Disk" xinputhid.SvcDesc = "XINPUT HID Filter Driver" Bth_Bus.DeviceDesc = "Bluetooth XINPUT compatible input device" Gip_Hid.DeviceDesc = "XINPUT compatible HID device" VID_045E&PID_02D1.DeviceDesc = "Xbox One Wireless Controller" VID_045E&PID_02DD.DeviceDesc = "Xbox One Wireless Controller" VID_045E&PID_02E3.DeviceDesc = "Xbox Elite Wireless Controller" VID_045E&PID_02EA.DeviceDesc = "Xbox Wireless Controller" Managed_Hid.DeviceDesc = "Managed HID Gaming device"