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

[Version]
Signature	= "$Windows NT$"
Provider	= %Provider%
Class		= Mouse
ClassGUID	= {4D36E96F-E325-11CE-BFC1-08002BE10318}
CatalogFile	= Apfiltr.cat
DriverVer	= 11/30/2009, 7.202.1616.206


[DestinationDirs]
DefaultDestDir				= 12					; DIRID_DRIVERS
MouFilter_CopyFilesDll		= 11					; System32
MouFilter_CopyFiles_CoInstaller = 11
MouFilter_CopyFilesHome			= 16422, %Apoint_Path%			; \Program Files\Apoint2K
MouFilter_CopyFiles_2KXP		= 16422, %Apoint_Path%			; \Program Files\Apoint2K
MouFilter_CopyFiles_Vista		= 16422, %Apoint_Path%			; \Program Files\Apoint2K
MouFilter_CopyFiles_MB3_Help	= 16422, %Apoint_PathMB3Help%	; \Program Files\Apoint2K\MB3_Help


; Manufacturer Sections
; ---------------------------------------------------------
[Manufacturer]
%Mfg.Desc%		= CompanyMfg, NT.6, NTamd64

[CompanyMfg.NTamd64]
; Not supporting

[CompanyMfg]    ; for 2000/XP
%Apoint.DeviceDesc%	= MouFilter_Inst_Std_2KXP, ACPI\LEN0005
%Apoint.DeviceDesc%	= MouFilter_Inst_Wide_2KXP, ACPI\LEN0006

[CompanyMfg.NT.6]    ; for Vista 32-bit 
%Apoint.DeviceDesc%	= MouFilter_Inst_Std_Vista, ACPI\LEN0005
%Apoint.DeviceDesc%	= MouFilter_Inst_Wide_Vista, ACPI\LEN0006

; -----------------------------------------------
;  Standard Touch Pad (for 2000/XP)
; -----------------------------------------------
[MouFilter_Inst_Std_2KXP.ntx86]
Include		= msmouse.inf
Needs		= PS2_Inst

; our own sections
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome, MouFilter_CopyFiles_MB3_Help, MouFilter_CopyFiles_2KXP
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst_2KXP.AddReg, MouFilter_Inst_Std.AddReg

[MouFilter_Inst_Std_2KXP.ntx86.Services]	; for Win2000 and later
AddService	= ApfiltrService,, filter_Service_Inst	; *, (Filter Driver)
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst_Std_2KXP.ntx86.HW]	; for Win2000 and later
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

[MouFilter_Inst_Std_2KXP.ntx86.CoInstallers]	; for Win2000 and later
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

[MouFilter_Inst_Std_2KXP.ntx86.Wdf]	; for Win2000 and later
KmdfService = ApfiltrService, MouFilter_Inst_wdfsect

; -----------------------------------------------
;  Standard Touch Pad (for Vista)
; -----------------------------------------------
[MouFilter_Inst_Std_Vista.ntx86]
Include		= msmouse.inf
Needs		= PS2_Inst

; our own sections
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome, MouFilter_CopyFiles_MB3_Help, MouFilter_CopyFiles_Vista
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst_Vista.AddReg, MouFilter_Inst_Std.AddReg

[MouFilter_Inst_Std_Vista.ntx86.Services]	; for Win2000 and later
AddService	= ApfiltrService,, filter_Service_Inst	; *, (Filter Driver)
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst_Std_Vista.ntx86.HW]	; for Win2000 and later
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

[MouFilter_Inst_Std_Vista.ntx86.CoInstallers]	; for Win2000 and later
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

[MouFilter_Inst_Std_Vista.ntx86.Wdf]	; for Win2000 and later
KmdfService = ApfiltrService, MouFilter_Inst_wdfsect

; -----------------------------------------------
;  Wide Touch Pad (for 2000/XP)
; -----------------------------------------------
[MouFilter_Inst_Wide_2KXP.ntx86]
Include		= msmouse.inf
Needs		= PS2_Inst

; our own sections
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome, MouFilter_CopyFiles_MB3_Help, MouFilter_CopyFiles_2KXP
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst_2KXP.AddReg, MouFilter_Inst_Wide.AddReg

[MouFilter_Inst_Wide_2KXP.ntx86.Services]	; for Win2000 and later
AddService	= ApfiltrService,, filter_Service_Inst	; *, (Filter Driver)
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst_Wide_2KXP.ntx86.HW]	; for Win2000 and later
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

[MouFilter_Inst_Wide_2KXP.ntx86.CoInstallers]	; for Win2000 and later
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

[MouFilter_Inst_Wide_2KXP.ntx86.Wdf]	; for Win2000 and later
KmdfService = ApfiltrService, MouFilter_Inst_wdfsect

; -----------------------------------------------
;  Wide Touch Pad (for Vista)
; -----------------------------------------------
[MouFilter_Inst_Wide_Vista.ntx86]
Include		= msmouse.inf
Needs		= PS2_Inst

; our own sections
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome, MouFilter_CopyFiles_MB3_Help, MouFilter_CopyFiles_Vista
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst_Vista.AddReg, MouFilter_Inst_Wide.AddReg

[MouFilter_Inst_Wide_Vista.ntx86.Services]	; for Win2000 and later
AddService	= ApfiltrService,, filter_Service_Inst	; *, (Filter Driver)
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst_Wide_Vista.ntx86.HW]	; for Win2000 and later
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

[MouFilter_Inst_Wide_Vista.ntx86.CoInstallers]	; for Win2000 and later
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

[MouFilter_Inst_Wide_Vista.ntx86.Wdf]	; for Win2000 and later
KmdfService = ApfiltrService, MouFilter_Inst_wdfsect


[MouFilter_Inst_wdfsect]
KmdfLibraryVersion = 1.7


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

[MouFilter_CopyFilesDll]
Vxdif.dll

[MouFilter_CopyFilesHome]
Apoint.exe
ApntEx.exe
Apoint.dll
EzAuto.dll
ApointSP.chm
ApointJP.chm
ApointGR.chm
ApointFR.chm
ApointUS.chm
ApointIT.chm
ApointDK.chm
ApointFI.chm
ApointNL.chm
ApointNO.chm
ApointSE.chm
TpointSP.chm
TpointJP.chm
TpointGR.chm
TpointFR.chm
TpointUS.chm
TpointIT.chm
TpointDK.chm
TpointFI.chm
TpointNL.chm
TpointNO.chm
TpointSE.chm
Uninstap.exe
MagGlass.exe
ApMsgFwd.exe
Uninstap.exe
ApInst.dll
tp4table.dat
tp4scrol.dat

[MouFilter_CopyFiles_MB3_Help]
tp4-mg.gif
tp4-note.gif
tp4-sc.gif
tp4scrol.css
tp4scrJP.htm
tp4scrUS.htm
tp4scrFR.htm
tp4scrGR.htm
tp4scrIT.htm
tp4scrSP.htm
tp4scrDK.htm
tp4scrFI.htm
tp4scrNL.htm
tp4scrNO.htm
tp4scrSE.htm

[MouFilter_CopyFiles_2KXP]

[MouFilter_CopyFiles_Vista]
;ApRunSvc.exe


[MouFilter_CopyFiles_CoInstaller]
WdfCoinstaller01007.dll

[MouFilter_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoinstaller01007.dll,WdfCoInstaller"

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


[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

;// Entry as "Display Version"
HKLM,%UNINST%,		"DisplayIcon",			0x00000000, %16422%\%Apoint_Path%\Apoint.exe
HKLM,%UNINST%,		"DisplayName",			0x00000000, "ThinkPad UltraNav Driver"
HKLM,%UNINST%,		"DisplayVersion",		0x00000000,	%ProductVersion%
HKLM,%UNINST%,		"UninstallString",		0x00000000, %16422%\%Apoint_Path%\Uninstap.exe ADDREMOVE
HKLM,%UNINST%,		"Publisher",			0x00000000, "ALPS ELECTRIC CO., LTD."
HKLM,%UNINST%,		"InstallLocation",		0x00000000, %16422%\%Apoint_Path%
HKLM,%UNINST%,		"VersionMajor",			0x00010001,	0x00000007
HKLM,%UNINST%,		"VersionMinor",			0x00010001,	0x000000CA

;// Set HKLM\Software\Alps\Apoint
HKLM,%SetApoint%,	"HomeDirectory",			0x00020000,	"%16422%\%Apoint_Path%"
HKLM,%SetApoint%,	"ProductVer",				0x00020000,	%ProductVersion%
HKLM,%SetApoint%,	"EnableMultiUser",			0x00010001,	0x00000002
HKLM,%SetApoint%,	"SupportLanguage",			0x00010001,	0x0090c83f
HKLM,%SetApoint%,	"SupportFunctionTab",		0x00010001,	0x000001BB	;When ALPS-Motion tab display sets 0x1BF
HKLM,%SetApoint%,	"Install_Flag",				0x00010001,	0x00000001
HKLM,%SetApoint%,	"EnableTouchSensitivity",	0x00010001,	0x00000001
HKLM,%SetApoint%,	"EnableAreaSwitch",			0x00010001,	0x00000001
HKLM,%SetApoint%,	"Support_USB_Button_Swap",	0x00010001,	0x00000001
HKLM,%SetApoint%,	"SeparateScroll_HV", 		0x00010001, 0x00000001
HKLM,%SetApoint%,	"UseBtnMessageVersion", 	0x00010001, 0x00000600
HKLM,%SetApoint%,	"UseCustomGUI", 			0x00010001, 0x00000001
HKLM,%SetApoint%,	"HideLogoFlag", 			0x00010001, 0x00000001
HKLM,%SetApoint%,	"ApMsgFwd_Flags", 			0x00010001, 0x000000ff

;// Set HKLM\Software\Alps\Apoint\SelectDevice
HKLM,%SetSelectDev%,"SelectDevice",			0x00010001,0x00000003

;// Set HKLM\Software\Alps\Apoint\Button
HKLM,%SetButton%,	"DoubleClkSpeed",		0x00010001,0x00000008
HKLM,%SetButton%,	"EnableWheel",			0x00010001,0x00000003
HKLM,%SetButton%,	"Scroll_HV",			0x00010001,0x00000003
HKLM,%SetButton%,	"USB_Button_Swap",		0x00010001,0x00000000
HKLM,%SetButton%,	"ShowScroll",			0x00010001,0x00000001

;// Set HKLM\Software\Alps\Apoint\Orientation
HKLM,%SetOrientation%,	"Rotation",			0x00010001,0x00000000

;// Set HKLM\Software\Alps\Apoint\Tapping
HKLM,%SetTapping%,	"Tapping",				0x00010001,0x00000001
HKLM,%SetTapping%,	"TapTyping",			0x00010001,0x00000001
HKLM,%SetTapping%,	"TapTypingDelay",		0x00010001,0x00000002
HKLM,%SetTapping%,	"AutoRelease",			0x00010001,0x00000001
HKLM,%SetTapping%,	"TypingDetect",			0x00010001,0x00000001
HKLM,%SetTapping%,	"TouchSensitivity",		0x00010001,0x00000020
HKLM,%SetTapping%,	"TypingInhibit",		0x00010001,0x00000001

;// Set HKLM\Software\Alps\Apoint\Gesture
HKLM,%SetGesture%,	"Display",				0x00010001,0x00000001
HKLM,%SetGesture%,	"EasyX",				0x00010001,0x0ff00ff0
HKLM,%SetGesture%,	"EnableFB",				0x00010001,0x00000000
HKLM,%SetGesture%,	"LockAreaSet",			0x00010001,0x00000001
HKLM,%SetGesture%,	"PadScrollLines",		0,3
HKLM,%SetGesture%,	"ActionType",			0x00010001,0x00000001
HKLM,%SetGesture%,	"ScrollLock_Enable",	0x00010001,0x00000000
HKLM,%SetGesture%,	"CornerRectMax",		0x00010001,0x010E0168	; x = 360, y = 270
HKLM,%SetGesture%,	"Scr_ThinningCount_GP",	0x00010001,0x00000001

; Set HKLM\Software\Alps\TrackPoint
HKLM,%SetTrackPoint%,	"PressSelect",		0x00010001,0x00000000
HKLM,%SetTrackPoint%,	"CenterFunc",		0x00010001,0x00000001
HKLM,%SetTrackPoint%,	"ClickPace",		0x00010001,0x00000005
HKLM,%SetTrackPoint%,	"Dragging",			0x00010001,0x00000000
HKLM,%SetTrackPoint%,	"HelpReminder",		0x00010001,0x00000001
HKLM,%SetTrackPoint%,	"PressMean",		0x00010001,0x00000000
HKLM,%SetTrackPoint%,	"PressToSelect",	0x00010001,0x00000000
HKLM,%SetTrackPoint%,	"ReleaseToSelect",	0x00010001,0x00000000
HKLM,%SetTrackPoint%,	"ScrollType",		0x00010001,0x00000001
HKLM,%SetTrackPoint%,	"Sensitivity",		0x00010001,0x00000005
HKLM,%SetTrackPoint%,	"ZoomCustomHeight",	0x00010001,0x00000078
HKLM,%SetTrackPoint%,	"ZoomCustomWidth",	0x00010001,0x000000A0
HKLM,%SetTrackPoint%,	"ZoomFactor",		0x00010001,0x00000002
HKLM,%SetTrackPoint%,	"ZoomSizeParam",	0x00010001,0x00000001
HKLM,%SetTrackPoint%,	"Scr_ThinningCount_TP",	0x00010001,0x0000001

; Set HKLM\Software\Alps\Other
HKLM,%SetOther%,	"Display",				0x00010001,	0x00000000
HKLM,%SetOther%,	"TrayIcon",				0x00020000,	FALSE
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,""

; 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%,	"MSPhotoEditor32MainClass",	0x00020000,	""
HKLM,%SetExceptions%,	"CabinetWClass",			0x00020000,	""
HKLM,%SetExceptions%,	"ShImgVW:CPreviewWnd",			0x00020000,	""

; Set HKLM\Software\Alps\Apoint\SetInertialMovemnet
HKLM,%SetInertialMovemnet%,	"EnableInertialMovement",	0x00010001,0x00000001
HKLM,%SetInertialMovemnet%,	"EnableOnlyWhenDrag",		0x00010001,0x00000001
HKLM,%SetInertialMovemnet%,	"Horizontal_Right",			0x00010001,0x00000032
HKLM,%SetInertialMovemnet%,	"Horizontal_Left",			0x00010001,0x00000032
HKLM,%SetInertialMovemnet%,	"Vertical_Top",				0x00010001,0x00000032
HKLM,%SetInertialMovemnet%,	"Vertical_Bottom",			0x00010001,0x00000032
HKLM,%SetInertialMovemnet%,	"IM_Speed",					0x00010001,0x00000001
HKLM,%SetInertialMovemnet%,	"IM_Period",				0x00010001,0x0000000a
HKLM,%SetInertialMovemnet%,	"IM_Delta",					0x00010001,0x00000001
HKLM,%SetInertialMovemnet%,	"IM_SuppressMove",			0x00010001,0x00000000

; Set Parameters (Drivers)
HKR,,"DoubleClkSpeed",			0x00010001,0x00000008
HKR,,"Tapping",					0x00010001,0x00000001
HKR,,"Controls",				0x00010001,0x00000003
HKR,,"Swap",					0x00010001,0x00000000
HKR,,"M_Assign",				0x00010001,0x00000003
HKR,,"Acceleration",			0x00010001,0x00000001
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,0x00008000
HKR,,"CornerTapOffsetX",		0x00010001,0x00000096
HKR,,"CornerTapOffsetY",		0x00010001,0x00000096
HKR,,"EnableWheel",				0x00010001,0x00000002
HKR,,"RightBtnEmulation",		0x00010001,0x00000000
HKR,,"ButtonFunction",			0x00010001,0xCD5485EF
HKR,,"MouseSynchIn100nsForMultiDevice",0x00010001,0x00000000
HKR,,"LR_Timelag",				0x00010001,0x0000000A
HKR,,"TapTyping",				0x00010001,0x00000000
HKR,,"TapTypingDelay",			0x00010001,0x00000002
HKR,,"AutoRelease",				0x00010001,0x00000001
HKR,,"EnableFB",				0x00010001,0x00000000
HKR,,"EnableFB_Type",			0x00010001,0x00000001
HKR,,"SelectDevice",			0x00010001,0x0000003F
HKR,,"SPTapping",				0x00010001,0x00000001
HKR,,"SPTapSettings",			0x00010001,0x00000001
HKR,,"SPFunction",				0x00010001,0x00548500
HKR,,"SPScroll",				0x00010001,0x00000002
HKR,,"PM_Resume",				0x00010001,0x00000000
HKR,,"UseIMECap",				0x00010001,0x00000000
HKR,,"DragLock_TR_Emulation",	0x00010001,0x00000001
HKR,,"ScrollLock_Enable",		0x00010001,0x00000001
HKR,,"ScrollLock_Period",		0x00010001,0x0000001E
HKR,,"SetToBTN3_DEV",			0x00010001,0x00000001		; Ceter Button=1/Both Button=0
HKR,,"EnableAreaSwitch",		0x00010001,0x00000001
HKR,,"EnableTouchSensitivity",	0x00010001,0x00000000
HKR,,"ZThresholdMode",			0x00010001,0x00000003		; for TouchSensitivity
HKR,,"EnableRawMode",			0x00010001,0x00000005		; W=ON, P=OFF
HKR,,"ZIdleCount",				0x00010001,0x00000FE7		; 
HKR,,"SP_ReviseBallisticCurve_Enable",	0x00010001,0x00000000		; 1=Enable, 0=Disable
HKR,,"SP_BrakeCursor_Enable",			0x00010001,0x00000001
HKR,,"SP_BrakeCursor_DeltaTime",		0x00010001,0x00000020
HKR,,"SP_BrakeCursor_Buffer_N",			0x00010001,0x00000003
HKR,,"SP_BrakeCursor_Threshold_Min",	0x00010001,0x00000003
HKR,,"SP_BrakeCursor_Threshold_Max",	0x00010001,0x00000020
HKR,,"SP_BrakeCursor_Percent",			0x00010001,0x00000019
HKR,,"SP_NoSpeedAccThreshold",			0x00010001,0x00000001
HKR,,"DataModeSwitchTime",			0x00010001,0x00000064
HKR,,"WatchDog_Flag",				0x00010001,0x00000001
HKR,,"KBCSyncSolution",				0x00010001,0x00000002   ; Synchronize=OFF, Simultaneous=0, EventName="\Device\8042PRTCTRL"
HKR,,"RMFP_LeastChange_BufCount",	0x00010001,0x00000002	; // Default = 3
HKR,,"RMFP_FIR_Smoothing",			0x00010001,0x00000121	; // Default = 0x1221
HKR,,"RMFP_FIR_HistDist",			0x00010001,0x00000005	; // Default = 5
HKR,,"RMFP_Adaptive_Strength",		0x00010001,0x00000007	; // Default = 8
HKR,,"SP_Raw_EnableButtonOR",		0x00010001,0x00000000	; 
HKR,,"GP_Raw_CountToLeave",			0x00010001,0x00000001	; 
HKR,,"SeparateSPButton",			0x00010001,0x00000001	; 
HKR,,"Mercury6sw_SampleRate",			0x00010001,0x000001A8	; 
HKR,,"PalmRejection_Enable",			0x00010001,0x00000111	; 
HKR,,"VariableAccTable_Enable",			0x00010001,0x00000001	; 
HKR,,"VariableAccTable_Index",			0x00010001,0x00000001	; 
HKR,,"DriverFunctionFlag",				0x00010001,0x00000001	; Use extended button function
HKR,,"EnablePadScrollHV",				0x00010001,0x00000003	;
HKR,,"ReInitByFC00_Enable",				0x00010001,0x00000001	;
HKR,,"SP_ScrollThreshold_H",			0x00010001,0x00000001
HKR,,"SP_ScrollThreshold_V",			0x00010001,0x00000001
HKR,,"GP_ScrollThreshold_H",			0x00010001,0x00000001
HKR,,"GP_ScrollThreshold_V",			0x00010001,0x00000001
HKR,,"TouchSensitivity",				0x00010001,0x00000020
HKR,,"GP_ScrollDeltaWheel",				0x00010001,0x00000032
HKR,,"SP_ScrollDeltaWheel",				0x00010001,0x00000096
HKR,,"Mercury_TrackFlags3",				0x00010001,0x01710400
HKR,,"Inhibit_WatchDog_Enable",			0x00010001,0x00000001

; Set HKLM\Software\Alps\Apoint\Params\Default
HKLM,%SetParamsDef%,EnableWheel,			0x00010001,	0x00000003
HKLM,%SetParamsDef%,EnableFB,				0x00010001,	0x00000000
HKLM,%SetParamsDef%,Scroll_HV,				0x00010001,	0x00000003
HKLM,%SetParamsDef%,TapTyping,				0x00010001,	0x00000001
HKLM,%SetParamsDef%,ButtonFunction0,		0x00010001, 0x00000005
HKLM,%SetParamsDef%,ButtonFunction1,		0x00010001, 0x00000005
HKLM,%SetParamsDef%,ButtonFunction2,		0x00010001, 0x00000004
HKLM,%SetParamsDef%,ButtonFunction3,		0x00010001, 0x00000000
HKLM,%SetParamsDef%,SPFunction3,			0x00010001, 0x00000010
;HKLM,%SetParamsDef%,CornerFunction,			0x00000001, 00,06,04,00,00,07,05,00
HKLM,%SetParamsDef%,CornerFunction1,		0x00010001, 0x00000000
HKLM,%SetParamsDef%,CornerFunction2,		0x00010001, 0x00000000
HKLM,%SetParamsDef%,CornerFunction3,		0x00010001, 0x00000000
HKLM,%SetParamsDef%,CornerFunction4,		0x00010001, 0x00000000
HKLM,%SetParamsDef%,TouchSensitivity,		0x00010001, 0x00000020

;; Set Standard Mouse Settings ---- 
HKCU,%SetStdMouse%,	"DoubleClickSpeed",		0,	500
HKCU,%SetStdMouse%,	"SwapMouseButtons",		0,	0
HKCU,%SetStdMouse%,	"SnapToDefaultButton",	0,	0

; Set HKLM\Software\Alps\Apoint\Params\AssignList
HKLM,%SetAssignList%, "GPButton1FuncMenu",0x00000001, 0,1,2,4,D,21,22,23,24,9,A,B,C,11,12,14,2D,26,27,28,29,2A,2B,2C,20,1B
HKLM,%SetAssignList%, "GPButton2FuncMenu",0x00000001, 0,1,2,4,D,21,22,23,24,9,A,B,C,11,12,14,2D,26,27,28,29,2A,2B,2C,20,1B
HKLM,%SetAssignList%, "GPButton3FuncMenu",0x00000001, 0,1,2,4,D,21,22,23,24,9,A,B,C,11,12,14,2D,26,27,28,29,2A,2B,2C,20,1B
HKLM,%SetAssignList%, "Corner1FuncMenu",  0x00000001, 0,1,2,4,D,21,22,23,24,9,A,B,C,11,12,14,2D,26,27,28,29,2A,2B,2C,20,1B
HKLM,%SetAssignList%, "Corner2FuncMenu",  0x00000001, 0,1,2,4,D,21,22,23,24,9,A,B,C,11,12,14,2D,26,27,28,29,2A,2B,2C,20,1B
HKLM,%SetAssignList%, "Corner3FuncMenu",  0x00000001, 0,1,2,4,D,21,22,23,24,9,A,B,C,11,12,14,2D,26,27,28,29,2A,2B,2C,20,1B
HKLM,%SetAssignList%, "Corner4FuncMenu",  0x00000001, 0,1,2,4,D,21,22,23,24,9,A,B,C,11,12,14,2D,26,27,28,29,2A,2B,2C,20,1B

; Set HKLM\Software\Alps\Apoint\Params\Min
HKLM,%SetParamsMin%, "TouchSensMin",		0x00010001, 0x00000000

; Set HKLM\Software\Alps\Apoint\Params\Max
HKLM,%SetParamsMax%, "TouchSensMax",		0x00010001, 0x00000028

[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	; *

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

[MouFilter_Inst_Vista.AddReg]
; SYSTEM\CurrentControlSet\Services\ApRunSvc
HKLM, %SetService%,	"Description",			0x00000000, "Launches an application with administrative privilege"
HKLM, %SetService%,	"DisplayName",			0x00000000, "Alps Application Launcher Service"
HKLM, %SetService%,	"ErrorControl",			0x00010001, 0x00000000
HKLM, %SetService%,	"Group",				0x00000000, "ProfSvc_Group"
HKLM, %SetService%,	"ImagePath",			0x00020000, "%16422%\%Apoint_Path%\ApRunSvc.exe"
HKLM, %SetService%,	"ObjectName",			0x00000000, "LocalSystem"
HKLM, %SetService%,	"RequiredPrivileges",	0x00010000, "SeAssignPrimaryTokenPrivilege","SeTcbPrivilege"
HKLM, %SetService%,	"Start",				0x00010001, 0x00000004
HKLM, %SetService%,	"Type",					0x00010001, 0x00000020

[MouFilter_Inst_Std.AddReg]
HKR,,"SpeedAdjust_GP_X",					0x00010001, 0x00000064
HKR,,"SpeedAdjust_GP_Y",					0x00010001, 0x00000064
HKR,,"ZThresholdConversionBase",			0x00010001, 0x0000004C
HKR,,"ZThresholdConversionParam",			0x00010001, 0x00000096
HKR,,"TapSettings",							0x00010001, 0x00000010
HKR,,"PalmRejection_Time",					0x00010001, 0x0000015E
HKR,,"TapTimingTable",						0x00010001, 0x0C002000

; Set HKLM\Software\Alps\Apoint\Tapping
HKLM,%SetTapping%,			"TapSettings",			0x00010001, 0x00000010

; Set HKLM\Software\Alps\Apoint\Gesture
HKLM,%SetGesture%,			"CornerTapOffsetX",		0x00010001, 0x00000096
HKLM,%SetGesture%,			"CornerTapOffsetY",		0x00010001, 0x00000096

; Set HKLM\Software\Alps\Apoint\Params\Default
HKLM,%SetParamsDef%,		"CornerTapOffsetX",		0x00010001, 0x00000096
HKLM,%SetParamsDef%,		"CornerTapOffsetY",		0x00010001, 0x00000096
HKLM,%SetParamsDef%,		"TapSettings",			0x00010001, 0x00000010

; Set HKLM\Software\Alps\Apoint\Params\Min
HKLM,%SetParamsMin%,		"CornerTapOffsetX",		0x00010001, 0x00000064
HKLM,%SetParamsMin%,		"CornerTapOffsetY",		0x00010001, 0x00000064

; Set HKLM\Software\Alps\Apoint\Params\Max
HKLM,%SetParamsMax%,		"CornerTapOffsetX",		0x00010001, 0x000000C8
HKLM,%SetParamsMax%,		"CornerTapOffsetY",		0x00010001, 0x000000C8

[MouFilter_Inst_Wide.AddReg]
HKR,,"SpeedAdjust_GP_X",					0x00010001, 0x0000008E
HKR,,"SpeedAdjust_GP_Y",					0x00010001, 0x0000005B
HKR,,"ZThresholdConversionBase",			0x00010001, 0x00000048
HKR,,"ZThresholdConversionParam",			0x00010001, 0x0000008F
HKR,,"TapSettings",							0x00010001, 0x00000008
HKR,,"PalmRejection_Time",					0x00010001, 0x00000320
HKR,,"TapTimingTable",						0x00010001, 0x0C002000
HKR,,"TapStrokeTable",						0x00010001, 0x100A0A0A
HKR,,"EvtClipRgn_Flags",					0x00010001, 0x00000001
HKR,,"EvtClipRgn_XMin",						0x00010001, 0x00000096
HKR,,"EvtClipRgn_XMax",						0x00010001, 0x00000369
HKR,,"EvtClipRgn_YMin",						0x00010001, 0x00000000
HKR,,"EvtClipRgn_YMax",						0x00010001, 0x00000320

; Set HKLM\Software\Alps\Apoint\Tapping
HKLM,%SetTapping%,			"TapSettings",			0x00010001, 0x00000008

; Set HKLM\Software\Alps\Apoint\Gesture
HKLM,%SetGesture%,			"CornerTapOffsetX",		0x00010001, 0x0000001E
HKLM,%SetGesture%,			"CornerTapOffsetY",		0x00010001, 0x0000005A

; Set HKLM\Software\Alps\Apoint\Params\Default
HKLM,%SetParamsDef%,		"CornerTapOffsetX",		0x00010001, 0x0000001E
HKLM,%SetParamsDef%,		"CornerTapOffsetY",		0x00010001, 0x0000005A
HKLM,%SetParamsDef%,		"TapSettings",			0x00010001, 0x00000008

; Set HKLM\Software\Alps\Apoint\Params\Min
HKLM,%SetParamsMin%,		"CornerTapOffsetX",		0x00010001, 0x0000000A
HKLM,%SetParamsMin%,		"CornerTapOffsetY",		0x00010001, 0x00000046

; Set HKLM\Software\Alps\Apoint\Params\Max
HKLM,%SetParamsMax%,		"CornerTapOffsetX",		0x00010001, 0x0000006E
HKLM,%SetParamsMax%,		"CornerTapOffsetY",		0x00010001, 0x000000B4

;
; 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,,
Apoint.dll		= 1,,
EzAuto.dll		= 1,,
ApointSP.chm	= 1,,
ApointJP.chm	= 1,,
ApointGR.chm	= 1,,
ApointFR.chm	= 1,,
ApointUS.chm	= 1,,
ApointIT.chm	= 1,,
ApointDK.chm	= 1,,
ApointFI.chm	= 1,,
ApointNL.chm	= 1,,
ApointNO.chm	= 1,,
ApointSE.chm	= 1,,
TpointSP.chm	= 1,,
TpointJP.chm	= 1,,
TpointGR.chm	= 1,,
TpointFR.chm	= 1,,
TpointUS.chm	= 1,,
TpointIT.chm	= 1,,
TpointDK.chm	= 1,,
TpointFI.chm	= 1,,
TpointNL.chm	= 1,,
TpointNO.chm	= 1,,
TpointSE.chm	= 1,,
Uninstap.exe	= 1,,
MagGlass.exe	= 1,,
ApMsgFwd.exe	= 1,,
Uninstap.exe	= 1,,
ApInst.dll		= 1,,
WdfCoinstaller01007.dll=1,,
tp4table.dat	= 1,,
tp4scrol.dat	= 1,,
;ApRunSvc.exe	= 1,,

tp4-mg.gif		= 1,%MB3Help_Path%
tp4-note.gif	= 1,%MB3Help_Path%
tp4-sc.gif		= 1,%MB3Help_Path%
tp4scrol.css	= 1,%MB3Help_Path%
tp4scrJP.htm	= 1,%MB3Help_Path%
tp4scrUS.htm	= 1,%MB3Help_Path%
tp4scrFR.htm	= 1,%MB3Help_Path%
tp4scrGR.htm	= 1,%MB3Help_Path%
tp4scrIT.htm	= 1,%MB3Help_Path%
tp4scrSP.htm	= 1,%MB3Help_Path%
tp4scrDK.htm	= 1,%MB3Help_Path%
tp4scrFI.htm	= 1,%MB3Help_Path%
tp4scrNL.htm	= 1,%MB3Help_Path%
tp4scrNO.htm	= 1,%MB3Help_Path%
tp4scrSE.htm	= 1,%MB3Help_Path%

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

Provider			= "Alps"								; Provider
Filter.SvcDesc		= "Alps Pointing-device Filter Driver"	; *
Mfg.Desc			= "Alps Electric"						; Manufacture
Apoint.DeviceDesc 	= "ThinkPad UltraNav"					; Device Name

; Alps internals
Apoint_Path			= "Apoint2K"
Apoint_PathMB3Help	= "Apoint2K\MB3_Help"
DiskID				= "Alps Pointing-device Driver for Windows 2000/XP Setup Disk"
MB3Help_Path		= "MB3_Help"

; Registry Strings
SetApoint				= "Software\Alps\Apoint"
SetSelectDev			= "Software\Alps\Apoint\SelectDevice"
SetLauncher				= "Software\Alps\Apoint\EasyLauncher"
SetCapture				= "Software\Alps\Apoint\EasyCapture"
SetExceptions			= "Software\Alps\Apoint\Exceptions"
SetParamsDef			= "Software\Alps\Apoint\Params\Default"
SetButton				= "Software\Alps\Apoint\Button"
SetMotion				= "Software\Alps\Apoint\Motion"
SetOrientation			= "Software\Alps\Apoint\Orientation"
SetTapping				= "Software\Alps\Apoint\Tapping"
SetGesture				= "Software\Alps\Apoint\Gesture"
SetStick				= "Software\Alps\Apoint\Stick"
SetTrackPoint			= "Software\Alps\Apoint\TrackPoint"
SetOther				= "Software\Alps\Apoint\Other"
SetInertialMovemnet		= "Software\Alps\Apoint\InertialMovement"
SetStdMouse				= "Control Panel\Mouse"
SetAssignList			= "Software\Alps\Apoint\Params\AssignList"
SetParamsMin			= "Software\Alps\Apoint\Params\Min"
SetParamsMax			= "Software\Alps\Apoint\Params\Max"
SetService				= "SYSTEM\CurrentControlSet\Services\ApRunSvc"
UNINST					= "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9F72EF8B-AEC9-4CA5-B483-143980AFD6FD}"
ProductVersion			= "7.202.1616.206"
