; egxbus.inf
;
; Installation file (.inf) for the eGalaxTouch device.
;
; (c) Copyright 2007 ~ 2010 eGalax_eMPIA Inc. 
;

[Version]
Signature="$Windows NT$"
Provider=%EGALAX%
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Class=Mouse
CatalogFile=egxbus.cat
DriverVer=01/15/2010, 2.3.0.3615
[SourceDisksNames]
1 = %DiskId1%,,
[DestinationDirs]
DefaultDestDir   = 12
;DLLCopyFiles = 11
;
; Driver information
;

[Manufacturer]
%EGALAX%   = eGalaxTouchMfg, NTamd64;

[eGalaxTouchMfg.NTamd64]
%PS2_TOUCH%	     = egxps2_Inst.x64, *PNP0F13

;
; General installation section
;

;====================================================================
; PS2 Installation Section
;====================================================================

[egxps2_Inst.x64]
; perform port related actions from msmouse.inf
Include=msmouse.inf
Needs=PS2_Inst
AddReg=egxps2_AddReg.x64
CopyFiles=egxps2_Copyfiles.x64, DLLCopyFiles.x64

[egxps2_AddReg.x64]
;
; File sections
;


[egxps2_CopyFiles.x64]
egxbus.sys

[DLLCopyFiles.x64]
;

;
; Service Installation
;

[egxps2_Inst.x64.Services]
; Install the port driver and mouclass from msmouse.inf
Include=msmouse.inf
Needs=PS2_Inst.Services
AddService = egxbus,, egxbus_Service_Inst.x64

[egxbus_Service_Inst.x64]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
DebugLevel     = 0x00000400
LoadOrderGroup = Pointer Port
ServiceBinary  = %12%\egxbus.sys

;[egxbus_EventLog_Inst.x64]
;AddReg = egxbus_EventLog_AddReg

;[egxbus_EventLog_AddReg.x64]
;HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\egxbus.sys"
;HKR,,TypesSupported,0x00010001,7

[egxps2_Inst.x64.HW]
; Add the device upper filter
Include=msmouse.inf
Needs=PS2_Inst.HW
;DelReg = egxps2_DelReg.x64
AddReg = egxbus.HW.AddReg.x64
[egxbus.HW.AddReg.x64]
HKR,,"UpperFilters",0x00010000,"egxbus"
;HKR,,"BeepMode",0x00010003,1
;HKR,,"MouseMode",0x00010003,0x00000000

[egxps2_DelReg.x64]
HKR,,"BeepMode"
HKR,,"BeepFrequency"
HKR,,"BeepDuration"
HKR,,"MouseMode"
HKR,,"ConstDuration"
HKR,,"ConstMode"
HKR,,"ConstRange"
HKR,,"EdgeInfo"
HKR,,"Branch"
HKR,,"CalInfo"
HKR,,"CalSource"
HKR,,"LinzInfo"
HKR,,"Migrated"
HKR,,"MonitorInfo"
HKR,,"NativeName"
HKR,,"Orient"
HKR,,"SymbolicName"
HKR,,"TouchGrid"
HKR,,"TouchSpeed"
;
; Source file information
;
[SourceDisksFiles]
; Files for disk eGalaxTouch Touchscreen Controller. Installation Disk #1 (Mouse)
egxbus.sys = 1,,


[Strings]

;
; Non-Localizable Strings
;

REG_SZ         = 0x00000000
REG_MULTI_SZ   = 0x00010000
REG_EXPAND_SZ  = 0x00020000
REG_BINARY     = 0x00000001
REG_DWORD      = 0x00010001
SERVICEROOT    = "System\CurrentControlSet\Services"

;
; Localizable Strings
;

PS2_TOUCH	= "eGalaxTouch PS2 Touch Digitizer Filter x64"
EGX_BUS		= "TouchScreen Enumerator"
RUNONCEKEYNAME = "Software\Microsoft\Windows\CurrentVersion\RunOnce"
DiskId1 = "eGalaxTouch PS2 Touch Digitizer Filter Driver Installation Disk(TouchScreen)"
EGALAX = "eGalax_eMPIA Inc."
