;Copyright (c) 2011  G-SPY Development, Inc. All Rights Reserved.
;

[Version]
Signature   = "$Windows NT$"
CatalogFile = PXGX11264.cat
Class       = HIDClass
ClassGUID   = {745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider    = %G-SPY%
DriverVer   = 09/13/2011,1.0.0.0


[SourceDisksNames]
99 = %DiskName%,,

[SourceDisksFiles]
PXGX112.sys = 99

[DestinationDirs]
CopyFilesUSB = 10,system32\drivers

[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%StdMfg% = Standard,NTamd64

[Standard.NTamd64]
%gamingms.DeviceDesc00% = PXGX112_Inst,USB\VID_0b05&PID_17ac


;-----------------------------------------------------------------
[PXGX112_Inst.NTAMD64]
Include   = input.inf
CopyFiles = CopyFilesUSB, HID_Inst.Copyfiles.NT

[PXGX112_Inst.NTAMD64.HW]
AddReg = Filter.AddReg.HW

[PXGX112_Inst.NTAMD64.Services]
AddService = HidUsb,%SPSVCINST_ASSOCSERVICE%,HIDUSB_Service_Inst
AddService = PXGX112,,PXGX112_Service_Inst

[CopyFilesUSB]
PXGX112.sys

[Filter.AddReg.HW]
HKR,,"LowerFilters",0x00010000,"PXGX112"


[PXGX112_Service_Inst]
DisplayName     = %SvcDispName%
ServiceType     = %SERVICE_KERNEL_DRIVER%
StartType       = %SERVICE_DEMAND_START%
ErrorControl    = %SERVICE_ERROR_IGNORE%
ServiceBinary   = %10%\system32\drivers\PXGX112.sys
LoadOrderGroup  = Extended Base

[HIDUSB_Service_Inst]
DisplayName    = %HID.SvcDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_AUTO_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %10%\system32\drivers\hidusb.sys
LoadOrderGroup = extended base

;-----------------------------------------------------------------
[Strings]

G-SPY		      = "ASUS"
DiskName          = "Driver Disk"
gamingms.DeviceDesc00      = "ASUS ROG Laser Gaming Mouse"
gamingms.DeviceDesc01      = "ASUS ROG Laser Gaming Mouse"
gamingms.DeviceDesc02      = "ASUS ROG Laser Gaming Mouse"
HID.DefaultDevice     = "HID default device"
HID.ClassName         = "ASUS ROG Laser Gaming Mouse"
HID.SvcDesc           = "ASUS ROG Laser Gaming Mouse"
StdMfg                = "ASUS"
SvcDispName           = "Laser Gaming Mouse"

SPSVCINST_TAGTOFRONT  = 0x00000001
SPSVCINST_ASSOCSERVICE= 0x00000002
SERVICE_KERNEL_DRIVER = 1
SERVICE_BOOT_START    = 0
SERVICE_SYSTEM_START  = 1
SERVICE_AUTO_START    = 3
SERVICE_DEMAND_START  = 3
SERVICE_ERROR_NORMAL  = 1
SERVICE_ERROR_IGNORE  = 0
REG_EXPAND_SZ         = 0x00020000
REG_DWORD             = 0x00010001
REG_SZ                = 0x00000000
