; xtouch.inf
;
; Installation file (.inf) for the eGalaxTouch device.
;
; (c) Copyright 2000 ~ 2019 Inc. 
;

[Version]
Signature="$Windows NT$"
Provider=%EGALAXTOUCH%
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Class=Mouse
CatalogFile=xtouch.cat
DriverVer=01/17/2019, 5.13.00.18317
[SourceDisksNames]
1 = %DiskId1%,,
[DestinationDirs]
DefaultDestDir   = 12
DLLCopyFiles = 11
DLLCopyFiles.x64 = 11
;
; Driver information
;

[Manufacturer]
%EGALAXTOUCH%   = eGalaxTouchMfg, NTamd64;

[eGalaxTouchMfg.NTamd64]
%USB_UNIV_TOUCH%     = usb_univ_Inst.x64, USB\VID_0EEF&PID_0001

;
; General installation section
;

;====================================================================
;================= USB Touchscreen Section ==========================
;====================================================================
[usb_univ_Inst.x64]
AddReg=xtouch_AddReg.x64
CopyFiles=XCopyFiles_Drivers.x64, DLLCopyFiles.x64

[xtouch_AddReg.x64]
;
; File sections
;
;HKR,,EnumPropPages32,,"egalaxtouchprop.dll,EnumPropPages"

[XCopyFiles_Drivers.x64]
xtouch.sys

[DLLCopyFiles.x64]
;egalaxtouchprop.dll
;
; Service Installation
;
[usb_univ_Inst.x64.Services]
AddService = xtouch, 0x00000002 , xtouch_Service_Inst.x64, xtouch_EventLog_Inst.x64
; Install mouclass.sys from msmouse.inf
Include=msmouse.inf
Needs=MouClass.Services

[usb_univ_Inst.x64.HW]
AddReg=usb_AddReg.x64
;DelReg=usb_DelReg.x64

[xtouch_Service_Inst.x64]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Pointer Port
ServiceBinary  = %12%\xtouch.sys

[xtouch_EventLog_Inst.x64]
AddReg = xtouch_EventLog_AddReg.x64

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

[usb_AddReg.x64]
;HKR,,"BeepMode",0x00010003,1
;HKR,,"MouseMode",0x00010003,0x00000000

;[usb_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)
xtouch.sys = 1,,
;egalaxtouchprop.dll = 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
;

USB_UNIV_TOUCH  = "USB Touchscreen Controller(Universal)"

RUNONCEKEYNAME = "Software\Microsoft\Windows\CurrentVersion\RunOnce"
DiskId1 = "eGalaxTouch Driver Installation Disk(TouchScreen)"
EGALAXTOUCH = "eGalaxTouch"
