;---------------------------------------------------------------------
; Apfiltr.inf
;
; Alps Pointing-device Driver for Windows 2000/XP Installation
; Copyright(C) 1999-2002 Alps Electric Co., Ltd.
;---------------------------------------------------------------------

[Version]
Signature		= "$Windows NT$"
Provider		= %Provider%
Class			= Mouse
ClassGUID		= {4D36E96F-E325-11CE-BFC1-08002BE10318}
CatalogFile		= Apfiltr.cat
DriverVer		= 03/08/2002, 5.3.506.4
;LayoutFile		= layout.inf


[DestinationDirs]
DefaultDestDir				= 12					; DIRID_DRIVERS System32\Drivers
MouFilter_CopyFilesDll		= 11					; System32
MouFilter_CopyFilesHome		= 16422, %Apoint_Path%	; \Program Files\Apoint


; Manufacturer Sections
; ---------------------------------------------------------
[Manufacturer]
%Mfg.Desc%		= CompanyMfg
 
[CompanyMfg]
%*sny9001.DeviceDesc%= MouFilter_Inst9001,*SNY9001,ACPI\SNY9001		;Alps Pointing-device PS/2 mouse
%*sny9002.DeviceDesc%= MouFilter_Inst9002,*SNY9002,ACPI\SNY9002		;Alps Pointing-device PS/2 mouse
%*pnp0f03.DeviceDesc%= MouFilter_Inst,*PNP0F03,ACPI\PNP0F03			;PS/2 mouse
%*pnp0f13.DeviceDesc%= MouFilter_Inst,*PNP0F13,ACPI\PNP0F13			;PS/2 mouse
%*pnp0f0e.DeviceDesc%= MouFilter_Inst,*PNP0F0E,ACPI\PNP0F0E			;PS/2 mouse
%*pnp0f0b.DeviceDesc%= MouFilter_Inst,*PNP0F0B,ACPI\PNP0F0B			;PS/2 mouse
%*pnp0f12.DeviceDesc%= MouFilter_Inst,*PNP0F12,ACPI\PNP0F12			;PS/2 mouse

; -------------- PS/2 Mouse --------------
;	-------- Default Setting --------
[MouFilter_Inst]
Include		= msmouse.inf
Needs		= PS2_Inst

; our own sections
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome
AddReg		= MouFilter_Inst.AddReg

[MouFilter_Inst.Services]
AddService	= ApfiltrService,, filter_Service_Inst	; *, (Filter Driver)
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst.HW]
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

;	---------------------------------
;	-------- SNY9001 Setting --------
;	---------------------------------
[MouFilter_Inst9001]
Include		= msmouse.inf
Needs		= PS2_Inst

; our own sections
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome
AddReg		= MouFilter_Inst9001.AddReg

[MouFilter_Inst9001.Services]
AddService	= ApfiltrService,, filter_Service_Inst	; *, (Filter Driver)
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst9001.HW]
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst9001.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

;	---------------------------------
;	-------- SNY9001 Setting --------
;	---------------------------------
[MouFilter_Inst9002]
Include		= msmouse.inf
Needs		= PS2_Inst

; our own sections
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome
AddReg		= MouFilter_Inst9002.AddReg

[MouFilter_Inst9002.Services]
AddService	= ApfiltrService,, filter_Service_Inst	; *, (Filter Driver)
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst9002.HW]
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst9002.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW


;--------------- Files Copy Section
[MouFilter_CopyFiles]
Apfiltr.sys				; *

[MouFilter_CopyFilesDll]
Vxdif.dll

[MouFilter_CopyFilesHome]
Apoint.exe
ApntEx.exe
Ezcapt.exe
Apvfb.exe
Apoint.dll
ApRes.dll
EzLaunch.dll
Elprop.dll
EzAuto.dll
ApWheel.dll
ApointJP.pop
ApointUS.pop
ApointGR.pop
ApointFR.pop
ApointIT.pop
ApointSP.pop
ApointKR.pop
ApointCS.pop
ApointCT.pop
Uninstap.exe


[MouFilter_Inst.HW.AddReg]                                        
HKR,,"UpperFilters",0x00010000,"ApfiltrService"

;	####################################################################################
;	################################# Default Setting ##################################
;	####################################################################################

[MouFilter_Inst.AddReg]                            ; Add registry entries here
HKCR,CLSID\{7F5B8FA4-BEEC-11cf-9BD7-B76592786C03}\InProcServer32,,0,%16422%\%Apoint_Path%\Apoint.dll
HKCR,CLSID\{7F5B8FA4-BEEC-11cf-9BD7-B76592786C03}\InProcServer32,ThreadingModel,0,Apartment
HKLM,"Software\Microsoft\Windows\CurrentVersion\Controls Folder\Mouse\shellex\PropertySheetHandlers\Alps 1Apoint Page",,0,{7F5B8FA4-BEEC-11cf-9BD7-B76592786C03}

;// Auto Run Apoint.exe
HKLM,"Software\Microsoft\Windows\CurrentVersion\Run",	"Apoint",0,%16422%\%Apoint_Path%\Apoint.exe

;// Set HKLM\Software\Alps\Apoint
HKLM,%SetApoint%,	HomeDirectory,			0x00020000,	"%16422%\%Apoint_Path%"
HKLM,%SetApoint%,	ProductVer,				0x00020000,	%ProductVersion%
HKLM,%SetApoint%,	DisableSpeedControl,	0x00010001,	0x00000000
HKLM,%SetApoint%,	EnableMultiUser,		0x00010001,	0x00000002
HKLM,%SetApoint%,	SupportFunctionTab,		0x00010001,	0x00000132
HKLM,%SetApoint%,	Install_Flag,			0x00010001,	0x00000001

;// Set HKLM\Software\Alps\Apoint\Button
HKLM,%SetButton%,	ButtonFunction,			0x00010001,0x00548500
HKLM,%SetButton%,	DoubleClkSpeed,			0x00010001,0x00000006
HKLM,%SetButton%,	EnableWheel,			0x00010001,0x00000003

;// Set HKLM\Software\Alps\Apoint\Motion
HKLM,%SetMotion%,	HorizSensitivity,		0x00010001,0x00000020
HKLM,%SetMotion%,	VertSensitivity,		0x00010001,0x00000020
HKLM,%SetMotion%,	Acceleration,			0x00010001,0x00000004
HKLM,%SetMotion%,	SnapTo,					0x00010001,0x00000000

;// Set HKLM\Software\Alps\Apoint\Tapping
HKLM,%SetTapping%,	Tapping,				0x00010001,0x00000001
HKLM,%SetTapping%,	TapSettings,			0x00010001,0x00000010
HKLM,%SetTapping%,	TapTyping,				0x00010001,0x00000001
HKLM,%SetTapping%,	TapTypingDelay,			0x00010001,0x00000001
HKLM,%SetTapping%,	AutoRelease,			0x00010001,0x00000001

;// Set HKLM\Software\Alps\Apoint\Gesture
HKLM,%SetGesture%,	EasyX,					0x00010001,0x08000000
HKLM,%SetGesture%,	EnableFB,				0x00010001,0x00000001
HKLM,%SetGesture%,	LockAreaSet,			0x00010001,0x00000001
HKLM,%SetGesture%,	CornerTapOffsetX,		0x00010001,0x00000064
HKLM,%SetGesture%,	CornerTapOffsetY,		0x00010001,0x00000064
HKLM,%SetGesture%,	UseVisual,				0x00010001,0x00000000

; Set HKLM\Software\Alps\Other
HKLM,%SetOther%,	TrayIcon,				0x00020000,	TRUE
HKLM,%SetOther%,	UseSound,				0x00010001,	0x00000000
HKLM,%SetOther%,	UseIMECap,				0x00010001,	0x00000000

; Set HKLM\Software\Alps\Easy Launcher
HKLM,%SetLauncher%,	"ComIndex",	0x00010001,	0x00000004
HKLM,%SetLauncher%,	"Option",	0x00010001,	0x00000126
HKLM,%SetLauncher%,	"C01",		0x00020000,	"MINIMIZE"
HKLM,%SetLauncher%,	"C02",		0x00020000,	"CLOSE"
HKLM,%SetLauncher%,	"C03",		0x00020000,	"START"
HKLM,%SetLauncher%,	"C04",		0x00020000,	"EXIT"
HKLM,%SetLauncher%,	"I01",		0x00020000,	"MINIMIZE"
HKLM,%SetLauncher%,	"I02",		0x00020000,	"CLOSE"
HKLM,%SetLauncher%,	"I03",		0x00020000,	"START"
HKLM,%SetLauncher%,	"I04",		0x00020000,	"EXIT"
HKLM,%SetLauncher%,	"T01",		0x00020000,	""
HKLM,%SetLauncher%,	"T02",		0x00020000,	""
HKLM,%SetLauncher%,	"T03",		0x00020000,	""
HKLM,%SetLauncher%,	"T04",		0x00020000,	""

; Sound (EventLabels)
HKCU,"AppEvents\EventLabels\Apoint_Tapping",,0,		"Tapping"
HKCU,"AppEvents\EventLabels\Apoint_Typing",	,0,		"Typing (with tap enabled)"
HKCU,"AppEvents\EventLabels\Apoint_EzLaunch",,0,	"Easy Launcher On"

; Sound (Apps)
HKCU,"AppEvents\Schemes\Apps\Apoint",,0,"Alps Pointing Device Driver"
HKCU,"AppEvents\Schemes\Apps\Apoint\Apoint_Tapping\.current",,0,
HKCU,"AppEvents\Schemes\Apps\Apoint\Apoint_Typing\.current",,0,
HKCU,"AppEvents\Schemes\Apps\Apoint\Apoint_EzLaunch\.current",,0,

; Set Parameters (Drivers)
HKR,,"DoubleClkSpeed",			0x00010001,0x00000006
HKR,,"Tapping",					0x00010001,0x00000001
HKR,,"TapSettings",				0x00010001,0x00000010
HKR,,"Controls",				0x00010001,0x00000003
HKR,,"Swap",					0x00010001,0x00000000
HKR,,"M_Assign",				0x00010001,0x00000003
HKR,,"Acceleration",			0x00010001,0x00000004
HKR,,"HorizSensitivity",		0x00010001,0x00000020
HKR,,"VertSensitivity",			0x00010001,0x00000020
HKR,,"Rotation",				0x00010001,0x00000000
HKR,,"EasyScroll",				0x00010001,0x7A980014
HKR,,"AutoTime",				0x00010001,0x000001F4
HKR,,"LockAreaSet",				0x00010001,0x00000001
HKR,,"XOffset",					0x00010001,0x00000080
HKR,,"YOffset",					0x00010001,0x00000080
HKR,,"XResolution",				0x00010001,0x00000420
HKR,,"YResolution",				0x00010001,0x00000320
HKR,,"EasyX",					0x00010001,0x08000000
HKR,,"CornerTapOffsetX",		0x00010001,0x00000064
HKR,,"CornerTapOffsetY",		0x00010001,0x00000064
HKR,,"EnableWheel",				0x00010001,0x00000003
HKR,,"RightBtnEmulation",		0x00010001,0x00000000
HKR,,"ButtonFunction",			0x00010001,0x00548500
HKR,,"LR_Timelag",				0x00010001,0x0000000A
HKR,,"TapTyping",				0x00010001,0x00000001
HKR,,"TapTypingDelay",			0x00010001,0x00000001
HKR,,"AutoRelease",				0x00010001,0x00000001
HKR,,"EnableFB",				0x00010001,0x00000001
HKR,,"SelectDevice",			0x00010001,0x00000003
HKR,,"SPTapping",				0x00010001,0x00000001
HKR,,"SPTapSettings",			0x00010001,0x00000001
HKR,,"SPFunction",				0x00010001,0x00548500
HKR,,"SPScroll",				0x00010001,0x00000002
HKR,,"ScrollCancelThreshold_X",	0x00010001,0x00000005
HKR,,"ScrollCancelThreshold_Y",	0x00010001,0x00000005
HKR,,"PM_Resume",				0x00010001,0x00000000
HKR,,"UseIMECap",				0x00010001,0x00000000
HKR,,"ScrollLock_Enable",		0x00010001,0x00000001
HKR,,"ScrollLock_Period",		0x00010001,0x00000064
HKR,,"LocusThreshold",			0x00010001,0x00000064

; Set HKLM\Software\Alps\Apoint\EasyCapture
HKLM,%SetCapture%,	"PenColor"    ,0x00010001,0x00000000
HKLM,%SetCapture%,	"PenWidth"    ,0x00010001,0x00000002
HKLM,%SetCapture%,	"CanvasWidth" ,0x00010001,0x000000B4
HKLM,%SetCapture%,	"CanvasHeight",0x00010001,0x00000078
HKLM,%SetCapture%,	"PastCmd"     ,0x00010001,0x00000000
HKLM,%SetCapture%,	"HoldImage"   ,0x00010001,0x00000000

; Set HKLM\Software\Alps\Exceptions
HKLM,%SetExceptions%,	PP97FrameClass,	0x00020000,	""
HKLM,%SetExceptions%,	PP9FrameClass,	0x00020000,	""
HKLM,%SetExceptions%,	PP10FrameClass,	0x00020000,	""
HKLM,%SetExceptions%,	OpusApp,		0x00020000,	""
HKLM,%SetExceptions%,	XLMAIN,			0x00020000,	""
HKLM,%SetExceptions%,	IEFrame,		0x00020000,	""
HKLM,%SetExceptions%,	CabinetWClass,	0x00020000,	""

; Set Parameters (CPL)
HKLM,%SetParamsDef%,HorizSensitivity,		0x00010001,0x0000000a
HKLM,%SetParamsDef%,VertSensitivity,		0x00010001,0x0000000a
HKLM,%SetParamsDef%,CornerTapOffsetX,		0x00010001,0x00000064
HKLM,%SetParamsDef%,CornerTapOffsetY,		0x00010001,0x00000064
HKLM,%SetParamsDef%,LockAreaSet,			0x00010001,0x00000001
HKLM,%SetParamsDef%,EasyX,					0x00010001,0x08000000
HKLM,%SetParamsDef%,MouseSensitivity_0,		0x00010001,	10
HKLM,%SetParamsDef%,MouseSpeed_0,			0x00010001,	1
HKLM,%SetParamsDef%,MouseThreshold1_0,		0x00010001,	7
HKLM,%SetParamsDef%,MouseThreshold2_0,		0x00010001,	0
HKLM,%SetParamsDef%,MouseSensitivity_1,		0x00010001,	10
HKLM,%SetParamsDef%,MouseSpeed_1,			0x00010001,	1
HKLM,%SetParamsDef%,MouseThreshold1_1,		0x00010001,	6
HKLM,%SetParamsDef%,MouseThreshold2_1,		0x00010001,	10
HKLM,%SetParamsDef%,WheelScrollLines_0,		0x00010001,	2
HKLM,%SetParamsDef%,SnapToDefaultButton_0,	0x00010001,	0
HKLM,%SetParamsDef%,WheelScrollLines_1,		0x00010001,	2		; for WinXp
HKLM,%SetParamsDef%,SnapToDefaultButton_1,	0x00010001,	0		; for WinXp

HKLM,%SetParamsMin%,HorizSensitivity,	0x00010001,0x00000001
HKLM,%SetParamsMin%,VertSensitivity,	0x00010001,0x00000001
HKLM,%SetParamsMin%,CornerTapOffsetX,	0x00010001,0x0000002a
HKLM,%SetParamsMin%,CornerTapOffsetY,	0x00010001,0x0000002a

HKLM,%SetParamsMax%,HorizSensitivity,	0x00010001,0x00000014
HKLM,%SetParamsMax%,VertSensitivity,	0x00010001,0x00000014
HKLM,%SetParamsMax%,CornerTapOffsetX,	0x00010001,0x000000c8
HKLM,%SetParamsMax%,CornerTapOffsetY,	0x00010001,0x000000c8

HKLM,%SetParamsPos%,CornerX,			0x00010001,0x0000000f
HKLM,%SetParamsPos%,CornerY,			0x00010001,0x00000011
HKLM,%SetParamsPos%,WebX,				0x00010001,0x00000038
HKLM,%SetParamsPos%,WebY,				0x00010001,0x00000011
HKLM,%SetParamsPos%,VScrollX,			0x00010001,0x0000006f
HKLM,%SetParamsPos%,VScrollY,			0x00010001,0x00000011
HKLM,%SetParamsPos%,HScrollX,			0x00010001,0x0000000f
HKLM,%SetParamsPos%,HScrollY,			0x00010001,0x0000004e

;// Wheel Srcoll Lines
HKCU,%SetWheelScrollLines%,	WheelScrollLines,	0x00020000,	2

;; Set Standard Mouse Settings ---- 
HKCU,%SetStdMouse%,	"MouseSensitivity",		0,	10
HKCU,%SetStdMouse%,	"MouseSpeed",			0,	1
HKCU,%SetStdMouse%,	"MouseThreshold1",		0,	7
HKCU,%SetStdMouse%,	"MouseThreshold2",		0,	0
HKCU,%SetStdMouse%,	"DoubleClickSpeed",		0,	500
HKCU,%SetStdMouse%,	"SwapMouseButtons",		0,	0
HKCU,%SetStdMouse%,	"SnapToDefaultButton",	0,	0

;	####################################################################################
;	################################# SNY9001 Setting ##################################
;	####################################################################################

[MouFilter_Inst9001.AddReg]                            ; Add registry entries here
HKCR,CLSID\{7F5B8FA4-BEEC-11cf-9BD7-B76592786C03}\InProcServer32,,0,%16422%\%Apoint_Path%\Apoint.dll
HKCR,CLSID\{7F5B8FA4-BEEC-11cf-9BD7-B76592786C03}\InProcServer32,ThreadingModel,0,Apartment
HKLM,"Software\Microsoft\Windows\CurrentVersion\Controls Folder\Mouse\shellex\PropertySheetHandlers\Alps 1Apoint Page",,0,{7F5B8FA4-BEEC-11cf-9BD7-B76592786C03}

;// Auto Run Apoint.exe
HKLM,"Software\Microsoft\Windows\CurrentVersion\Run",	"Apoint",0,%16422%\%Apoint_Path%\Apoint.exe

;// Set HKLM\Software\Alps\Apoint
HKLM,%SetApoint%,	HomeDirectory,			0x00020000,	"%16422%\%Apoint_Path%"
HKLM,%SetApoint%,	ProductVer,				0x00020000,	%ProductVersion%
HKLM,%SetApoint%,	DisableSpeedControl,	0x00010001,	0x00000000
HKLM,%SetApoint%,	EnableMultiUser,		0x00010001,	0x00000002
HKLM,%SetApoint%,	SupportFunctionTab,		0x00010001,	0x00000132
HKLM,%SetApoint%,	Install_Flag,			0x00010001,	0x00000001

;// Set HKLM\Software\Alps\Apoint\Button
HKLM,%SetButton%,	ButtonFunction,			0x00010001,0x00548500
HKLM,%SetButton%,	DoubleClkSpeed,			0x00010001,0x00000006
HKLM,%SetButton%,	EnableWheel,			0x00010001,0x00000003

;// Set HKLM\Software\Alps\Apoint\Motion
HKLM,%SetMotion%,	HorizSensitivity,		0x00010001,0x00000020
HKLM,%SetMotion%,	VertSensitivity,		0x00010001,0x00000020
HKLM,%SetMotion%,	Acceleration,			0x00010001,0x00000004
HKLM,%SetMotion%,	SnapTo,					0x00010001,0x00000000

;// Set HKLM\Software\Alps\Apoint\Tapping
HKLM,%SetTapping%,	Tapping,				0x00010001,0x00000001
HKLM,%SetTapping%,	TapSettings,			0x00010001,0x00000010
HKLM,%SetTapping%,	TapTyping,				0x00010001,0x00000001
HKLM,%SetTapping%,	TapTypingDelay,			0x00010001,0x00000001
HKLM,%SetTapping%,	AutoRelease,			0x00010001,0x00000001

;// Set HKLM\Software\Alps\Apoint\Gesture
HKLM,%SetGesture%,	EasyX,					0x00010001,0x08000000
HKLM,%SetGesture%,	EnableFB,				0x00010001,0x00000001
HKLM,%SetGesture%,	LockAreaSet,			0x00010001,0x00000001
HKLM,%SetGesture%,	CornerTapOffsetX,		0x00010001,0x00000064
HKLM,%SetGesture%,	CornerTapOffsetY,		0x00010001,0x00000064
HKLM,%SetGesture%,	UseVisual,				0x00010001,0x00000000

; Set HKLM\Software\Alps\Other
HKLM,%SetOther%,	TrayIcon,				0x00020000,	TRUE
HKLM,%SetOther%,	UseSound,				0x00010001,	0x00000000
HKLM,%SetOther%,	UseIMECap,				0x00010001,	0x00000000

; Set HKLM\Software\Alps\Easy Launcher
HKLM,%SetLauncher%,	"ComIndex",	0x00010001,	0x00000004
HKLM,%SetLauncher%,	"Option",	0x00010001,	0x00000126
HKLM,%SetLauncher%,	"C01",		0x00020000,	"MINIMIZE"
HKLM,%SetLauncher%,	"C02",		0x00020000,	"CLOSE"
HKLM,%SetLauncher%,	"C03",		0x00020000,	"START"
HKLM,%SetLauncher%,	"C04",		0x00020000,	"EXIT"
HKLM,%SetLauncher%,	"I01",		0x00020000,	"MINIMIZE"
HKLM,%SetLauncher%,	"I02",		0x00020000,	"CLOSE"
HKLM,%SetLauncher%,	"I03",		0x00020000,	"START"
HKLM,%SetLauncher%,	"I04",		0x00020000,	"EXIT"
HKLM,%SetLauncher%,	"T01",		0x00020000,	""
HKLM,%SetLauncher%,	"T02",		0x00020000,	""
HKLM,%SetLauncher%,	"T03",		0x00020000,	""
HKLM,%SetLauncher%,	"T04",		0x00020000,	""

; Sound (EventLabels)
HKCU,"AppEvents\EventLabels\Apoint_Tapping",,0,		"Tapping"
HKCU,"AppEvents\EventLabels\Apoint_Typing",	,0,		"Typing (with tap enabled)"
HKCU,"AppEvents\EventLabels\Apoint_EzLaunch",,0,	"Easy Launcher On"

; Sound (Apps)
HKCU,"AppEvents\Schemes\Apps\Apoint",,0,"Alps Pointing Device Driver"
HKCU,"AppEvents\Schemes\Apps\Apoint\Apoint_Tapping\.current",,0,
HKCU,"AppEvents\Schemes\Apps\Apoint\Apoint_Typing\.current",,0,
HKCU,"AppEvents\Schemes\Apps\Apoint\Apoint_EzLaunch\.current",,0,

; Set Parameters (Drivers)
HKR,,"DoubleClkSpeed",			0x00010001,0x00000006
HKR,,"Tapping",					0x00010001,0x00000001
HKR,,"TapSettings",				0x00010001,0x00000010
HKR,,"Controls",				0x00010001,0x00000003
HKR,,"Swap",					0x00010001,0x00000000
HKR,,"M_Assign",				0x00010001,0x00000003
HKR,,"Acceleration",			0x00010001,0x00000004
HKR,,"HorizSensitivity",		0x00010001,0x00000020
HKR,,"VertSensitivity",			0x00010001,0x00000020
HKR,,"Rotation",				0x00010001,0x00000000
HKR,,"EasyScroll",				0x00010001,0x7A980014
HKR,,"AutoTime",				0x00010001,0x000001F4
HKR,,"LockAreaSet",				0x00010001,0x00000001
HKR,,"XOffset",					0x00010001,0x00000080
HKR,,"YOffset",					0x00010001,0x00000080
HKR,,"XResolution",				0x00010001,0x00000420
HKR,,"YResolution",				0x00010001,0x00000320
HKR,,"EasyX",					0x00010001,0x08000000
HKR,,"CornerTapOffsetX",		0x00010001,0x00000064
HKR,,"CornerTapOffsetY",		0x00010001,0x00000064
HKR,,"EnableWheel",				0x00010001,0x00000003
HKR,,"RightBtnEmulation",		0x00010001,0x00000000
HKR,,"ButtonFunction",			0x00010001,0x00548500
HKR,,"LR_Timelag",				0x00010001,0x0000000A
HKR,,"TapTyping",				0x00010001,0x00000001
HKR,,"TapTypingDelay",			0x00010001,0x00000001
HKR,,"AutoRelease",				0x00010001,0x00000001
HKR,,"EnableFB",				0x00010001,0x00000001
HKR,,"SelectDevice",			0x00010001,0x00000003
HKR,,"SPTapping",				0x00010001,0x00000001
HKR,,"SPTapSettings",			0x00010001,0x00000001
HKR,,"SPFunction",				0x00010001,0x00548500
HKR,,"SPScroll",				0x00010001,0x00000002
HKR,,"ScrollCancelThreshold_X",	0x00010001,0x00000005
HKR,,"ScrollCancelThreshold_Y",	0x00010001,0x00000005
HKR,,"PM_Resume",				0x00010001,0x00000000
HKR,,"UseIMECap",				0x00010001,0x00000000
HKR,,"ScrollLock_Enable",		0x00010001,0x00000001
HKR,,"ScrollLock_Period",		0x00010001,0x00000064
HKR,,"LocusThreshold",			0x00010001,0x00000064

; Set HKLM\Software\Alps\Apoint\EasyCapture
HKLM,%SetCapture%,	"PenColor"    ,0x00010001,0x00000000
HKLM,%SetCapture%,	"PenWidth"    ,0x00010001,0x00000002
HKLM,%SetCapture%,	"CanvasWidth" ,0x00010001,0x000000B4
HKLM,%SetCapture%,	"CanvasHeight",0x00010001,0x00000078
HKLM,%SetCapture%,	"PastCmd"     ,0x00010001,0x00000000
HKLM,%SetCapture%,	"HoldImage"   ,0x00010001,0x00000000

; Set HKLM\Software\Alps\Exceptions
HKLM,%SetExceptions%,	PP97FrameClass,	0x00020000,	""
HKLM,%SetExceptions%,	PP9FrameClass,	0x00020000,	""
HKLM,%SetExceptions%,	PP10FrameClass,	0x00020000,	""
HKLM,%SetExceptions%,	OpusApp,		0x00020000,	""
HKLM,%SetExceptions%,	XLMAIN,			0x00020000,	""
HKLM,%SetExceptions%,	IEFrame,		0x00020000,	""
HKLM,%SetExceptions%,	CabinetWClass,	0x00020000,	""

; Set Parameters (CPL)
HKLM,%SetParamsDef%,HorizSensitivity,		0x00010001,0x0000000a
HKLM,%SetParamsDef%,VertSensitivity,		0x00010001,0x0000000a
HKLM,%SetParamsDef%,CornerTapOffsetX,		0x00010001,0x00000064
HKLM,%SetParamsDef%,CornerTapOffsetY,		0x00010001,0x00000064
HKLM,%SetParamsDef%,LockAreaSet,			0x00010001,0x00000001
HKLM,%SetParamsDef%,EasyX,					0x00010001,0x08000000
HKLM,%SetParamsDef%,MouseSensitivity_0,		0x00010001,	10
HKLM,%SetParamsDef%,MouseSpeed_0,			0x00010001,	1
HKLM,%SetParamsDef%,MouseThreshold1_0,		0x00010001,	7
HKLM,%SetParamsDef%,MouseThreshold2_0,		0x00010001,	0
HKLM,%SetParamsDef%,MouseSensitivity_1,		0x00010001,	10
HKLM,%SetParamsDef%,MouseSpeed_1,			0x00010001,	1
HKLM,%SetParamsDef%,MouseThreshold1_1,		0x00010001,	6
HKLM,%SetParamsDef%,MouseThreshold2_1,		0x00010001,	10
HKLM,%SetParamsDef%,WheelScrollLines_0,		0x00010001,	2
HKLM,%SetParamsDef%,SnapToDefaultButton_0,	0x00010001,	0
HKLM,%SetParamsDef%,WheelScrollLines_1,		0x00010001,	2		; for WinXp
HKLM,%SetParamsDef%,SnapToDefaultButton_1,	0x00010001,	0		; for WinXp

HKLM,%SetParamsMin%,HorizSensitivity,	0x00010001,0x00000001
HKLM,%SetParamsMin%,VertSensitivity,	0x00010001,0x00000001
HKLM,%SetParamsMin%,CornerTapOffsetX,	0x00010001,0x0000002a
HKLM,%SetParamsMin%,CornerTapOffsetY,	0x00010001,0x0000002a

HKLM,%SetParamsMax%,HorizSensitivity,	0x00010001,0x00000014
HKLM,%SetParamsMax%,VertSensitivity,	0x00010001,0x00000014
HKLM,%SetParamsMax%,CornerTapOffsetX,	0x00010001,0x000000c8
HKLM,%SetParamsMax%,CornerTapOffsetY,	0x00010001,0x000000c8

HKLM,%SetParamsPos%,CornerX,			0x00010001,0x0000000f
HKLM,%SetParamsPos%,CornerY,			0x00010001,0x00000011
HKLM,%SetParamsPos%,WebX,				0x00010001,0x00000038
HKLM,%SetParamsPos%,WebY,				0x00010001,0x00000011
HKLM,%SetParamsPos%,VScrollX,			0x00010001,0x0000006f
HKLM,%SetParamsPos%,VScrollY,			0x00010001,0x00000011
HKLM,%SetParamsPos%,HScrollX,			0x00010001,0x0000000f
HKLM,%SetParamsPos%,HScrollY,			0x00010001,0x0000004e

;// Wheel Srcoll Lines
HKCU,%SetWheelScrollLines%,	WheelScrollLines,	0x00020000,	2

;; Set Standard Mouse Settings ---- 
HKCU,%SetStdMouse%,	"MouseSensitivity",		0,	10
HKCU,%SetStdMouse%,	"MouseSpeed",			0,	1
HKCU,%SetStdMouse%,	"MouseThreshold1",		0,	7
HKCU,%SetStdMouse%,	"MouseThreshold2",		0,	0
HKCU,%SetStdMouse%,	"DoubleClickSpeed",		0,	500
HKCU,%SetStdMouse%,	"SwapMouseButtons",		0,	0
HKCU,%SetStdMouse%,	"SnapToDefaultButton",	0,	0


;	####################################################################################
;	################################# SNY9002 Setting ##################################
;	####################################################################################

[MouFilter_Inst9002.AddReg]                            ; Add registry entries here
HKCR,CLSID\{7F5B8FA4-BEEC-11cf-9BD7-B76592786C03}\InProcServer32,,0,%16422%\%Apoint_Path%\Apoint.dll
HKCR,CLSID\{7F5B8FA4-BEEC-11cf-9BD7-B76592786C03}\InProcServer32,ThreadingModel,0,Apartment
HKLM,"Software\Microsoft\Windows\CurrentVersion\Controls Folder\Mouse\shellex\PropertySheetHandlers\Alps 1Apoint Page",,0,{7F5B8FA4-BEEC-11cf-9BD7-B76592786C03}

;// Auto Run Apoint.exe
HKLM,"Software\Microsoft\Windows\CurrentVersion\Run",	"Apoint",0,%16422%\%Apoint_Path%\Apoint.exe

;// Set HKLM\Software\Alps\Apoint
HKLM,%SetApoint%,	HomeDirectory,			0x00020000,	"%16422%\%Apoint_Path%"
HKLM,%SetApoint%,	ProductVer,				0x00020000,	%ProductVersion%
HKLM,%SetApoint%,	DisableSpeedControl,	0x00010001,	0x00000000
HKLM,%SetApoint%,	EnableMultiUser,		0x00010001,	0x00000002
HKLM,%SetApoint%,	SupportFunctionTab,		0x00010001,	0x00000132
HKLM,%SetApoint%,	Install_Flag,			0x00010001,	0x00000001

;// Set HKLM\Software\Alps\Apoint\Button
HKLM,%SetButton%,	ButtonFunction,			0x00010001,0x00548500
HKLM,%SetButton%,	DoubleClkSpeed,			0x00010001,0x00000006
HKLM,%SetButton%,	EnableWheel,			0x00010001,0x00000003

;// Set HKLM\Software\Alps\Apoint\Motion
HKLM,%SetMotion%,	HorizSensitivity,		0x00010001,0x00000020
HKLM,%SetMotion%,	VertSensitivity,		0x00010001,0x00000020
HKLM,%SetMotion%,	Acceleration,			0x00010001,0x00000004
HKLM,%SetMotion%,	SnapTo,					0x00010001,0x00000000

;// Set HKLM\Software\Alps\Apoint\Tapping
HKLM,%SetTapping%,	Tapping,				0x00010001,0x00000001
HKLM,%SetTapping%,	TapSettings,			0x00010001,0x00000010
HKLM,%SetTapping%,	TapTyping,				0x00010001,0x00000001
HKLM,%SetTapping%,	TapTypingDelay,			0x00010001,0x00000001
HKLM,%SetTapping%,	AutoRelease,			0x00010001,0x00000001

;// Set HKLM\Software\Alps\Apoint\Gesture
HKLM,%SetGesture%,	EasyX,					0x00010001,0x08000000
HKLM,%SetGesture%,	EnableFB,				0x00010001,0x00000001
HKLM,%SetGesture%,	LockAreaSet,			0x00010001,0x00000001
HKLM,%SetGesture%,	CornerTapOffsetX,		0x00010001,0x00000064
HKLM,%SetGesture%,	CornerTapOffsetY,		0x00010001,0x00000064
HKLM,%SetGesture%,	UseVisual,				0x00010001,0x00000000

; Set HKLM\Software\Alps\Other
HKLM,%SetOther%,	TrayIcon,				0x00020000,	TRUE
HKLM,%SetOther%,	UseSound,				0x00010001,	0x00000000
HKLM,%SetOther%,	UseIMECap,				0x00010001,	0x00000000

; Set HKLM\Software\Alps\Easy Launcher
HKLM,%SetLauncher%,	"ComIndex",	0x00010001,	0x00000004
HKLM,%SetLauncher%,	"Option",	0x00010001,	0x00000126
HKLM,%SetLauncher%,	"C01",		0x00020000,	"MINIMIZE"
HKLM,%SetLauncher%,	"C02",		0x00020000,	"CLOSE"
HKLM,%SetLauncher%,	"C03",		0x00020000,	"START"
HKLM,%SetLauncher%,	"C04",		0x00020000,	"EXIT"
HKLM,%SetLauncher%,	"I01",		0x00020000,	"MINIMIZE"
HKLM,%SetLauncher%,	"I02",		0x00020000,	"CLOSE"
HKLM,%SetLauncher%,	"I03",		0x00020000,	"START"
HKLM,%SetLauncher%,	"I04",		0x00020000,	"EXIT"
HKLM,%SetLauncher%,	"T01",		0x00020000,	""
HKLM,%SetLauncher%,	"T02",		0x00020000,	""
HKLM,%SetLauncher%,	"T03",		0x00020000,	""
HKLM,%SetLauncher%,	"T04",		0x00020000,	""

; Sound (EventLabels)
HKCU,"AppEvents\EventLabels\Apoint_Tapping",,0,		"Tapping"
HKCU,"AppEvents\EventLabels\Apoint_Typing",	,0,		"Typing (with tap enabled)"
HKCU,"AppEvents\EventLabels\Apoint_EzLaunch",,0,	"Easy Launcher On"

; Sound (Apps)
HKCU,"AppEvents\Schemes\Apps\Apoint",,0,"Alps Pointing Device Driver"
HKCU,"AppEvents\Schemes\Apps\Apoint\Apoint_Tapping\.current",,0,
HKCU,"AppEvents\Schemes\Apps\Apoint\Apoint_Typing\.current",,0,
HKCU,"AppEvents\Schemes\Apps\Apoint\Apoint_EzLaunch\.current",,0,

; Set Parameters (Drivers)
HKR,,"DoubleClkSpeed",			0x00010001,0x00000006
HKR,,"Tapping",					0x00010001,0x00000001
HKR,,"TapSettings",				0x00010001,0x00000010
HKR,,"Controls",				0x00010001,0x00000003
HKR,,"Swap",					0x00010001,0x00000000
HKR,,"M_Assign",				0x00010001,0x00000003
HKR,,"Acceleration",			0x00010001,0x00000004
HKR,,"HorizSensitivity",		0x00010001,0x00000020
HKR,,"VertSensitivity",			0x00010001,0x00000020
HKR,,"Rotation",				0x00010001,0x00000000
HKR,,"EasyScroll",				0x00010001,0x7A980014
HKR,,"AutoTime",				0x00010001,0x000001F4
HKR,,"LockAreaSet",				0x00010001,0x00000001
HKR,,"XOffset",					0x00010001,0x00000080
HKR,,"YOffset",					0x00010001,0x00000080
HKR,,"XResolution",				0x00010001,0x00000420
HKR,,"YResolution",				0x00010001,0x00000320
HKR,,"EasyX",					0x00010001,0x08000000
HKR,,"CornerTapOffsetX",		0x00010001,0x00000096
HKR,,"CornerTapOffsetY",		0x00010001,0x0000003C
HKR,,"EnableWheel",				0x00010001,0x00000003
HKR,,"RightBtnEmulation",		0x00010001,0x00000000
HKR,,"ButtonFunction",			0x00010001,0x00548500
HKR,,"LR_Timelag",				0x00010001,0x0000000A
HKR,,"TapTyping",				0x00010001,0x00000001
HKR,,"TapTypingDelay",			0x00010001,0x00000001
HKR,,"AutoRelease",				0x00010001,0x00000001
HKR,,"EnableFB",				0x00010001,0x00000001
HKR,,"SelectDevice",			0x00010001,0x00000003
HKR,,"SPTapping",				0x00010001,0x00000001
HKR,,"SPTapSettings",			0x00010001,0x00000001
HKR,,"SPFunction",				0x00010001,0x00548500
HKR,,"SPScroll",				0x00010001,0x00000002
HKR,,"ScrollCancelThreshold_X",	0x00010001,0x00000005
HKR,,"ScrollCancelThreshold_Y",	0x00010001,0x00000005
HKR,,"PM_Resume",				0x00010001,0x00000000
HKR,,"UseIMECap",				0x00010001,0x00000000
HKR,,"ScrollLock_Enable",		0x00010001,0x00000001
HKR,,"ScrollLock_Period",		0x00010001,0x00000064
HKR,,"LocusThreshold",			0x00010001,0x00000064

; Set HKLM\Software\Alps\Apoint\EasyCapture
HKLM,%SetCapture%,	"PenColor"    ,0x00010001,0x00000000
HKLM,%SetCapture%,	"PenWidth"    ,0x00010001,0x00000002
HKLM,%SetCapture%,	"CanvasWidth" ,0x00010001,0x000000B4
HKLM,%SetCapture%,	"CanvasHeight",0x00010001,0x00000078
HKLM,%SetCapture%,	"PastCmd"     ,0x00010001,0x00000000
HKLM,%SetCapture%,	"HoldImage"   ,0x00010001,0x00000000

; Set HKLM\Software\Alps\Exceptions
HKLM,%SetExceptions%,	PP97FrameClass,	0x00020000,	""
HKLM,%SetExceptions%,	PP9FrameClass,	0x00020000,	""
HKLM,%SetExceptions%,	PP10FrameClass,	0x00020000,	""
HKLM,%SetExceptions%,	OpusApp,		0x00020000,	""
HKLM,%SetExceptions%,	XLMAIN,			0x00020000,	""
HKLM,%SetExceptions%,	IEFrame,		0x00020000,	""
HKLM,%SetExceptions%,	CabinetWClass,	0x00020000,	""

; Set Parameters (CPL)
HKLM,%SetParamsDef%,HorizSensitivity,		0x00010001,0x0000000a
HKLM,%SetParamsDef%,VertSensitivity,		0x00010001,0x0000000a
HKLM,%SetParamsDef%,CornerTapOffsetX,		0x00010001,0x00000064
HKLM,%SetParamsDef%,CornerTapOffsetY,		0x00010001,0x00000064
HKLM,%SetParamsDef%,LockAreaSet,			0x00010001,0x00000001
HKLM,%SetParamsDef%,EasyX,					0x00010001,0x08000000
HKLM,%SetParamsDef%,MouseSensitivity_0,		0x00010001,	10
HKLM,%SetParamsDef%,MouseSpeed_0,			0x00010001,	1
HKLM,%SetParamsDef%,MouseThreshold1_0,		0x00010001,	7
HKLM,%SetParamsDef%,MouseThreshold2_0,		0x00010001,	0
HKLM,%SetParamsDef%,MouseSensitivity_1,		0x00010001,	10
HKLM,%SetParamsDef%,MouseSpeed_1,			0x00010001,	1
HKLM,%SetParamsDef%,MouseThreshold1_1,		0x00010001,	6
HKLM,%SetParamsDef%,MouseThreshold2_1,		0x00010001,	10
HKLM,%SetParamsDef%,WheelScrollLines_0,		0x00010001,	2
HKLM,%SetParamsDef%,SnapToDefaultButton_0,	0x00010001,	0
HKLM,%SetParamsDef%,WheelScrollLines_1,		0x00010001,	2		; for WinXp
HKLM,%SetParamsDef%,SnapToDefaultButton_1,	0x00010001,	0		; for WinXp

HKLM,%SetParamsMin%,HorizSensitivity,	0x00010001,0x00000001
HKLM,%SetParamsMin%,VertSensitivity,	0x00010001,0x00000001
HKLM,%SetParamsMin%,CornerTapOffsetX,	0x00010001,0x00000032
HKLM,%SetParamsMin%,CornerTapOffsetY,	0x00010001,0x00000032

HKLM,%SetParamsMax%,HorizSensitivity,	0x00010001,0x00000014
HKLM,%SetParamsMax%,VertSensitivity,	0x00010001,0x00000014
HKLM,%SetParamsMax%,CornerTapOffsetX,	0x00010001,0x00000096
HKLM,%SetParamsMax%,CornerTapOffsetY,	0x00010001,0x00000096

HKLM,%SetParamsPos%,CornerX,			0x00010001,0x0000000f
HKLM,%SetParamsPos%,CornerY,			0x00010001,0x00000011
HKLM,%SetParamsPos%,WebX,				0x00010001,0x00000038
HKLM,%SetParamsPos%,WebY,				0x00010001,0x00000011
HKLM,%SetParamsPos%,VScrollX,			0x00010001,0x0000006f
HKLM,%SetParamsPos%,VScrollY,			0x00010001,0x00000011
HKLM,%SetParamsPos%,HScrollX,			0x00010001,0x0000000f
HKLM,%SetParamsPos%,HScrollY,			0x00010001,0x0000004e

;// Wheel Srcoll Lines
HKCU,%SetWheelScrollLines%,	WheelScrollLines,	0x00020000,	2

;; Set Standard Mouse Settings ---- 
HKCU,%SetStdMouse%,	"MouseSensitivity",		0,	10
HKCU,%SetStdMouse%,	"MouseSpeed",			0,	1
HKCU,%SetStdMouse%,	"MouseThreshold1",		0,	7
HKCU,%SetStdMouse%,	"MouseThreshold2",		0,	0
HKCU,%SetStdMouse%,	"DoubleClickSpeed",		0,	500
HKCU,%SetStdMouse%,	"SwapMouseButtons",		0,	0
HKCU,%SetStdMouse%,	"SnapToDefaultButton",	0,	0


[filter_Service_Inst]
DisplayName		= %Filter.SvcDesc%	; *
ServiceType		= 1					; SERVICE_KERNEL_DRIVER
StartType		= 3					; SERVICE_DEMAND_START
ErrorControl	= 0					; SERVICE_ERROR_IGNORE
LoadOrderGroup	= Pointer Port
ServiceBinary	= %12%\Apfiltr.sys	; filter.sys

;
; Source file information
;

; use [SourceDisksNames.x86] for x86 only installs
; use [SourceDisksNames.alpha] for alpha only installs

[SourceDisksNames]
1 = %DiskID%,,,

[SourceDisksFiles]
Apfiltr.sys		= 1,,
Vxdif.dll		= 1,,
Apoint.exe		= 1,,
ApntEx.exe		= 1,,
Ezcapt.exe		= 1,,
Apvfb.exe		= 1,,
Apoint.dll		= 1,,
ApRes.dll		= 1,,
EzLaunch.dll	= 1,,
Elprop.dll		= 1,,
EzAuto.dll		= 1,,
ApWheel.dll		= 1,,
ApointJP.pop	= 1,,
ApointUS.pop	= 1,,
ApointGR.pop	= 1,,
ApointFR.pop	= 1,,
ApointIT.pop	= 1,,
ApointSP.pop	= 1,,
ApointKR.pop	= 1,,
ApointCS.pop	= 1,,
ApointCT.pop	= 1,,
Uninstap.exe	= 1,,


; ------------- Localizable strings ------------------------
[Strings]

Provider			= "Alps"								; Provider
Filter.SvcDesc		= "Alps Pointing-device Filter Driver"	; *
Mfg.Desc			= "Alps Electric"						; Manufacture

*sny9001.DeviceDesc	= "Alps Pointing-device"		; Device Name
*sny9002.DeviceDesc	= "Alps Pointing-device"		; Device Name
*pnp0f03.DeviceDesc	= "Alps Pointing-device"		; Device Name
*pnp0f13.DeviceDesc	= "Alps Pointing-device"		; Device Name
*pnp0f0e.DeviceDesc	= "Alps Pointing-device"		; Device Name
*pnp0f0b.DeviceDesc	= "Alps Pointing-device"		; Device Name
*pnp0f12.DeviceDesc	= "Alps Pointing-device"		; Device Name

; Alps internals
Apoint_Path			= "Apoint"
DiskID				= "Alps Pointing-device Driver for Windows 2000/XP Setup Disk"

; Registry Strings
SetApoint			= "Software\Alps\Apoint"
SetLauncher			= "Software\Alps\Apoint\EasyLauncher"
SetSound			= "Software\Alps\Apoint\SoundFeedback"
SetCapture			= "Software\Alps\Apoint\EasyCapture"
SetExceptions		= "Software\Alps\Apoint\Exceptions"
SetParamsDef		= "Software\Alps\Apoint\Params\Default"
SetParamsMin		= "Software\Alps\Apoint\Params\Min"
SetParamsMax		= "Software\Alps\Apoint\Params\Max"
SetParamsPos		= "Software\Alps\Apoint\Params\Pos"
SetButton			= "Software\Alps\Apoint\Button"
SetMotion			= "Software\Alps\Apoint\Motion"
SetTapping			= "Software\Alps\Apoint\Tapping"
SetGesture			= "Software\Alps\Apoint\Gesture"
SetOther			= "Software\Alps\Apoint\Other"
RUN					= "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
SetStdMouse			= "Control Panel\Mouse"
SetWheelScrollLines	= "Control Panel\Desktop"
ProductVersion		= "Version 5.3.506.4"


; ------------- Standard defs ----------------------------
SPSVCINST_TAGTOFRONT	= 0x00000001
SPSVCINST_ASSOCSERVICE	= 0x00000002
SERVICE_KERNEL_DRIVER	= 1
SERVICE_BOOT_START		= 0
SERVICE_SYSTEM_START	= 1
SERVICE_AUTO_START		= 2
SERVICE_DEMAND_START	= 3
SERVICE_ERROR_NORMAL	= 1
SERVICE_ERROR_IGNORE	= 0
REG_EXPAND_SZ			= 0x00020000
REG_DWORD				= 0x00010001
REG_SZ					= 0x00000000
PROGRAM_FILES			= 16422