;===============================================================================================================
;
;  WARNING:DO NOT EDIT THIS FILE!IT IS IMPORTANT!
;
;  moutest.Inf
;  INF file for Legacy touchscreen serial driver
;
;  Version 1.0a
;===============================================================================================================

[Version]
Signature="$Windows NT$"
Provider=%FINGER%
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Class=Mouse
DriverVer=08/22/2001,5.1.2600.0		; Added ",5.1.2600.0" as required by XP!!

[SourceDisksNames]
1987=%DiskId1%,,

[SourceDisksFiles]
moutest.sys  = 1987

;---------------------------------------
;	Destination directory for file copy
;---------------------------------------

[DestinationDirs]
DefaultDestDir   		= 12

;---------------------------
;	Driver information
;---------------------------
[Manufacturer]
%FINGER%   = Finger2K.Mfg,NTx86.5.1

[Finger2K.Mfg]
%Finger.DeviceDesc0%= FingerNT_Install,FingerNTSerial

[Finger2K.Mfg.NTx86.5.1]
%Finger.DeviceDesc0%= FingerXP_Install,FingerNTSerial

;----------------------------------------------------------------------------------------------------
;
;				    NT Serial installation section
;
;----------------------------------------------------------------------------------------------------

[FingerNT_Install]
DriverVer=08/22/2001,5.00.2195
; Copy the driver over
CopyFiles=FingerNT.Drv.CopyFiles
AddReg=FingerNT.AddReg

[FingerNT_Install.Services]
AddService = Moutest, , Moutest_Service_Inst, Moutest_EventLog_Inst

;----------------------------------------------------------------------------------------------------
;
;				  XP Serial installation section
;
;----------------------------------------------------------------------------------------------------

[FingerXP_Install]
DriverVer=08/22/2001,5.1.2600.0		  ;Added as required by XP!!
; Copy the driver over
CopyFiles=FingerNT.Drv.CopyFiles
AddReg=FingerNT.AddReg

[FingerXP_Install.Services]
AddService = Moutest, , Moutest_Service_Inst, Moutest_EventLog_Inst

[FingerNT.AddReg]
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	      Port,	0x00010001, 2
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	    MouseMode,	0x00010001, 3
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	    DragDelay,	0x00010001, 2
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	    BeepMode,	0x00010001, 2
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	    BeepFreq,	0x00010001, 0x3e8
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	    BeepTime,	0x00010001, 0x20
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	    LeftOffset,	0x00010001, 0
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	    TopOffset,	0x00010001, 0
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	    XMikeyPerPixel,	0x00010001, 0x32
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	    YMikeyPerPixel,	0x00010001, 0x32
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	DblClickRegion,	0x00010001, 0x19
HKLM,System\Currentcontrolset\Services\%TouchService%\Parameters,	SwapXY,		0x00010001, 0
HKCU,"Control Panel\Mouse",DoubleClickHeight,%REG_SZ%,"25"
HKCU,"Control Panel\Mouse",DoubleClickWidth,%REG_SZ%,"25"
HKCU,"Control Panel\Mouse",DoubleClickSpeed,%REG_SZ%,"800"
HKLM,SYSTEM\CurrentControlSet\Services\Mouclass\Parameters,ConnectMultiplePorts,%REG_DWORD%,0x01
HKLM,SYSTEM\CurrentControlSet\Services\Mouclass\Parameters,MaximumPortsServiced,%REG_DWORD%,0x03

;-----------------------
;	File sections
;-----------------------
[FingerNT.Drv.CopyFiles]
moutest.sys

;-----------------------------------
;	Service Installation
;-----------------------------------
[Moutest_Service_Inst]
DisplayName			= %FingerTouch.SvcDesc%
ServiceType			= 1                  ; SERVICE_KERNEL_DRIVER
StartType			= 2                  ; SERVICE_AUTO_START
ErrorControl		= 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary		= %12%\moutest.sys
LoadOrderGroup		= Pointer Port

[Moutest_EventLog_Inst]
AddReg = Moutest_EventLog_AddReg

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

;-------------------------------
;	String definition
;-------------------------------
[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
;-------------------------
Finger.DeviceDesc0 = "SWAVETouch Touchscreen serial interface"
DiskId1 = "Touchscreen driver Setup Disk #1 (Mouse)"
FINGER = ""
TouchService		= "FingerTouchScreen"
FingerTouch.SvcDesc	= "SWAVETouchScreen driver"
