; Copyright (c) Microsoft Corporation. All rights reserved.
;
; XboxgipSynthetic.INF file
;
; Installs the Xbox One Controller for Windows driver stack
;

;

[Version]
Signature                           =   "$WINDOWS NT$"
Class                               =   XboxComposite
ClassGuid                           =   {05F5CFE2-4733-4950-A6BB-07AAD01A3A84}
Provider                            =   %ProviderName%
CatalogFile                         =   XboxgipSynthetic.cat
PnpLockdown                         =   1
DriverVer = 05/06/2022,10.0.22621.1

; ================= Device section =====================

[Manufacturer]
%ProviderName%                      =   Microsoft,NTamd64

[Microsoft.NTamd64]
%SWD\XBOXGIP_SYNTHETIC.DeviceDesc%  =   XboxgipSynthetic, SWD\XBOXGIP_SYNTHETIC

[XboxgipSynthetic]
Include                             =   xboxgip.inf
Needs                               =   Install
AddReg                              =   XboxgipSynthetic.AddReg

[XboxgipSynthetic.HW]
AddReg                              =   PnPFilterRegistration

[PnPFilterRegistration]
HKR,,"UpperFilters",0x00010000,"xboxgip"

; Synthetic device property is a bitmask, from gipdrv.h
; Please keep in sync with gipdrv.h declaration
;//
;// Device properties to mark if the device is a Synthetic Device and future
;// possible flags. This is checked when the device class is XboxComposite
;// to see if the device is Synthetic or USB.
;//
;typedef enum _GIP_SYNTHETICDEVICE_FLAGS
;{
;    SyntheticDeviceFlags_Undefined = 0x0,
;    SyntheticDeviceFlags_IsSynthetic = 0x1,
;    SyntheticDeviceFlags_Mask = 0x0000000F
;} GIP_SYNTHETICDEVICE_FLAGS, *PGIP_SYNTHETICDEVICE_FLAGS;

[XboxgipSynthetic.AddReg]
HKR,,"ConfigFlags", 0x00010001, 1
HKR,,"SyntheticDeviceFlags", 0x00010001, 0x1

[XboxgipSynthetic.Services]
Include                             =   xboxgip.inf
Needs                               =   Install.Services

;**********************************************************************
; Destination directories
;**********************************************************************
[ControlFlags]
ExcludeFromSelect                   =   *

;---------------------------------------------------------------;

[Strings]
ProviderName                        =   "Microsoft"
ClassName                           =   "Xbox Virtual"
SWD\XBOXGIP_SYNTHETIC.DeviceDesc    =   "Xbox Virtual Game Controller"
XboxgipSynthetic.SvcDesc            =   "Xbox Virtual Game Device"
