;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Copyright 2007 Saitek plc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[Version]
Signature=    $CHICAGO$
Class=        Mouse
ClassGuid=    {4d36e96f-e325-11ce-bfc1-08002be10318}
Provider=     %PROVIDER%
DriverVer=    04/04/2008, 6.2.2.4
CatalogFile=  SaiA504.cat

[Manufacturer]
Saitek =    SAITEK_MODELS

[SAITEK_MODELS]
%HID_NAME%=     SAI_HID_Inst,    HID\VID_06A3&PID_A504

[ControlFlags]
ExcludeFromSelect= *

[SourceDisksNames]
1=%DISKNAME%,,,.

[SourceDisksFiles]
SaiKA504.sys = 1 ; programming driver
WdfCoInstaller01005.dll = 1 ; make sure the number matches with SourceDisksNames

[DestinationDirs]
DefaultDestDir=     10,system32\drivers
SAI_HID_Inst_CoInstaller_CopyFiles = 11

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[SAI_HID_Inst.NT.CoInstallers]
AddReg=SAI_HID_Inst_CoInstaller_AddReg
CopyFiles=SAI_HID_Inst_CoInstaller_CopyFiles

[SAI_HID_Inst_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01005.dll,WdfCoInstaller"

[SAI_HID_Inst_CoInstaller_CopyFiles]
WdfCoInstaller01005.dll,,,2

[SAI_HID_Inst.NT.Wdf]
KmdfService = SaiKA504, SAI_HID_Inst_WDFSect

[SAI_HID_Inst_WDFSect]
KmdfLibraryVersion = 1.5

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[SAI_HID_Inst.NT]
Copyfiles = SAI_HID_Inst.CopyFiles.NT
AddReg = SAI_HID_Inst.AddReg.NT
Include = msmouse.inf
Needs = HID_Mouse_Inst.NT

[SAI_HID_Inst.NT.HW]
AddReg = SAI_HID_Inst.AddReg.NT.HW
Include = msmouse.inf
Needs = HID_Mouse_Inst.NT.HW

[SAI_HID_Inst.AddReg.NT.HW]
HKR, , LowerFilters, 0x00010000, "SaiKA504"

[SAI_HID_Inst.CopyFiles.NT]
SaiKA504.sys,,,2

[SAI_HID_Inst.AddReg.NT]
; Do I Create a RawPDO for comms
HKR, , UseInterface, 0x00010001, 1
; What Interfaces do I register
HKR, InterfacesSupported, %GUID_TORONTO%,      0x00010001, 1
; Settings for each Interface
; Toronto
HKR, Programming, Alias, ,          %GUID_ALIAS%
HKR, Programming, Balias, ,         %GUID_BALIAS%
HKR, Programming, CplProfile, ,     %CPL_PROFILE%
HKR, Programming, DefaultProfile, , %DEFAULT_PROFILE%
; modify the control panel
HKLM, %CONFIGURATION%\%GUID_ALIAS%, HideCpl, 0x00010001, 0x00000001

[SAI_HID_Inst.NT.Services]
AddService = SaiKA504, , SaiHid_Service_Inst
Include = msmouse.inf
Needs = HID_Mouse_Inst.NT.Services

[SaiHid_Service_Inst]
DisplayName    = SaiKA504
ServiceType    = 1
StartType      = 3
ErrorControl   = 1
ServiceBinary  = %12%\SaiKA504.sys

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[strings]
CONFIGURATION = "Software\Saitek\Configuration\Controllers"

GUID_SYDNEY       = "{DAF1A7EE-68B2-4757-829E-C3E9226EA2DF}"
GUID_ISTANBUL     = "{A7AAAAD0-99FF-45A1-87F5-2CFAEF10F6A0}"
GUID_CLOCK        = "{EF0BB43B-EF34-4192-8804-D5C0FA4A6A97}"
GUID_CASABLANCA   = "{10DB5451-D30F-4ABC-AB5F-6839C740D0CA}"
GUID_LED          = "{0040FD64-C5F1-49E3-A3EB-38E7B3AB3B3C}"
GUID_MFD          = "{19D936F8-BAC2-4636-82B7-BC2C35F33F2A}"
GUID_DIRECTOUTPUT = "{A131BE63-67FE-4761-A014-EF5AF53742EB}"
GUID_TORONTO      = "{3B0BC249-97F2-49C7-A5B4-8AF34040E48D}"

GUID_ALIAS        = "{E5893414-1FDC-4fa3-BBBD-2C81CA30253D}"
GUID_BALIAS       = "{CCB88344-C0D5-4ad2-B35D-70EBF6E80171}"

CPL_PROFILE       = "System32\SaiCA504.pr0"
DEFAULT_PROFILE   = "System32\SaiDA504.pr0"

PROVIDER= "Saitek"
DISKNAME= "Saitek Driver Media"
HID_NAME= "Saitek GM3200 Mouse (HID)"



