;---------------------------------------------------------------------
; Apfiltr.inf
;
; Alps Pointing-device Driver for Windows x86 Installation
; Copyright(C) 1999-2010 Alps Electric Co., Ltd.
;---------------------------------------------------------------------

[Version]
Signature	= "$Windows NT$"
Provider	= %Provider%
Class		= Mouse
ClassGUID	= {4D36E96F-E325-11CE-BFC1-08002BE10318}
CatalogFile	= Apfiltr.cat
DriverVer	= 06/24/2010, 7.1007.101.209
DriverPackageDisplayName	= "Dell Touchpad"

[DestinationDirs]
DefaultDestDir			= 12
MouFilter_CopyFiles_CoInstaller = 11
MouFilter_CopyFilesDll		= 11
MouFilter_CopyFilesHome		= 16422, %Apoint_Path%
MouFilter_CopyFilesCursor		= 16422, %Path_Data_Cur%

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

[CompanyMfg.NTamd64]	; for 64-bit OS
; Not supported

[CompanyMfg]	; for 32-bit OS
%Apoint.DeviceDesc%	= MouFilter_Inst,*PNP0F13,*PNP0F03,*PNP0F0E,*PNP0F0b,*PNP0F12;
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_E2_00,*DLL040A
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_E2_01,*DLL040B
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_E2_01,*DLL040C
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_E2_02,*DLL0428
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_E2_02,*DLL0429
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_E2_02,*DLL047B
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_E2_02,*DLL047C
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_E2_03,*DLL0410
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_M11_01,*DLL0467
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_M11_01,*DLL0468
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_M11_01,*DLL04A3
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_M11_01,*DLL04A4
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_M11_01,*DLL0492
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_M11_01,*DLL0493
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_M11_01,*DLL0494
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_M11_01,*DLL049A
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_M11_01,*DLL049B
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_M11_02,*DLL0451
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_M11_02,*DLL0466
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_M11_02,*DLL046F
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_M11_02,*DLL0486
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_M11_02,*DLL0487
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_M11_02,*DLL04A6
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_M11_02,*DLL049E
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_M11_02,*DLL049F
%Apoint.DeviceDesc%	= MouFilter_Inst_Dell_M11_02,*DLL04A0

[ControlFlags]
ExcludeFromSelect=*PNP0F13,*PNP0F03,*PNP0F0E,*PNP0F0b,*PNP0F12,*DLL040A,*DLL040B,*DLL040C,*DLL0428,*DLL0429,*DLL047B,*DLL047C,*DLL0410,*DLL0467,*DLL0468,*DLL04A3,*DLL04A4,*DLL0492,*DLL0493,*DLL0494,*DLL049A,*DLL049B,*DLL0451,*DLL0466,*DLL046F,*DLL0486,*DLL0487,*DLL04A6,*DLL049E,*DLL049F,*DLL04A0

; Install Sections for PS/2 mouse
; ---------------------------------------------------------
; -------------------- Default Setting --------------------
; ---------------------------------------------------------
[MouFilter_Inst.ntx86]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome, MouFilter_CopyFilesCursor
AddReg		= MouFilter_Inst.AddReg, DriverInfoAddReg

[MouFilter_Inst.ntx86.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

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

[MouFilter_Inst.ntx86.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst.ntx86.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller


; ---------------------------------------------------------
; ------------------ Dell_E2_00 Setting -------------------
; ---------------------------------------------------------
[MouFilter_Inst_Dell_E2_00.ntx86]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome, MouFilter_CopyFilesCursor
AddReg		= MouFilter_Inst.AddReg, DriverInfoAddReg, PAG1p4_Multi.AddReg, MouFilter_Inst_Dell_E2_00.AddReg

[MouFilter_Inst_Dell_E2_00.ntx86.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

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

[MouFilter_Inst_Dell_E2_00.ntx86.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst_Dell_E2_00.ntx86.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller


; ---------------------------------------------------------
; ------------------ Dell_E2_01 Setting -------------------
; ---------------------------------------------------------
[MouFilter_Inst_Dell_E2_01.ntx86]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome, MouFilter_CopyFilesCursor
AddReg		= MouFilter_Inst.AddReg, DriverInfoAddReg, PAG1p4_Multi.AddReg, MouFilter_Inst_Dell_E2_01.AddReg

[MouFilter_Inst_Dell_E2_01.ntx86.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

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

[MouFilter_Inst_Dell_E2_01.ntx86.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst_Dell_E2_01.ntx86.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller


; ---------------------------------------------------------
; ------------------ Dell_E2_02 Setting -------------------
; ---------------------------------------------------------
[MouFilter_Inst_Dell_E2_02.ntx86]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome, MouFilter_CopyFilesCursor
AddReg		= MouFilter_Inst.AddReg, DriverInfoAddReg, PAG1p4_Multi.AddReg, MouFilter_Inst_Dell_E2_02.AddReg

[MouFilter_Inst_Dell_E2_02.ntx86.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

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

[MouFilter_Inst_Dell_E2_02.ntx86.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst_Dell_E2_02.ntx86.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller


; ---------------------------------------------------------
; ------------------ Dell_E2_03 Setting -------------------
; ---------------------------------------------------------
[MouFilter_Inst_Dell_E2_03.ntx86]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome, MouFilter_CopyFilesCursor
AddReg		= MouFilter_Inst.AddReg, DriverInfoAddReg, PAG1p4_Multi.AddReg, MouFilter_Inst_Dell_E2_03.AddReg

[MouFilter_Inst_Dell_E2_03.ntx86.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

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

[MouFilter_Inst_Dell_E2_03.ntx86.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst_Dell_E2_03.ntx86.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller


; ---------------------------------------------------------
; ------------------ Dell_M11_01 Setting -------------------
; ---------------------------------------------------------
[MouFilter_Inst_Dell_M11_01.ntx86]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome, MouFilter_CopyFilesCursor
AddReg		= MouFilter_Inst.AddReg, DriverInfoAddReg, PAG1p4_Multi.AddReg, 3F-Gestures_TDC.AddReg, TP_OnOff_HotKey.AddReg, 2F-ScrollLock.AddReg, MouFilter_Inst_Dell_M11_01.AddReg

[MouFilter_Inst_Dell_M11_01.ntx86.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst_Dell_M11_01.ntx86.HW]
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg, PAG1p4_Multi.AddReg, 3F-Gestures_TDC.AddReg, TP_OnOff_HotKey.AddReg, 2F-ScrollLock.AddReg, MouFilter_Inst_Dell_M11_01.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

[MouFilter_Inst_Dell_M11_01.ntx86.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst_Dell_M11_01.ntx86.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller


; ---------------------------------------------------------
; ------------------ Dell_M11_02 Setting -------------------
; ---------------------------------------------------------
[MouFilter_Inst_Dell_M11_02.ntx86]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome, MouFilter_CopyFilesCursor
AddReg		= MouFilter_Inst.AddReg, DriverInfoAddReg, PAG1p4_Single.AddReg, TP_OnOff_HotKey.AddReg, MouFilter_Inst_Dell_M11_02.AddReg

[MouFilter_Inst_Dell_M11_02.ntx86.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

[MouFilter_Inst_Dell_M11_02.ntx86.HW]
AddReg		= MouFilter_Inst.HW.AddReg, MouFilter_Inst.AddReg, PAG1p4_Single.AddReg, TP_OnOff_HotKey.AddReg, MouFilter_Inst_Dell_M11_02.AddReg
Include		= msmouse.inf
Needs		= PS2_Inst.HW

[MouFilter_Inst_Dell_M11_02.ntx86.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst_Dell_M11_02.ntx86.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller


; Files Copy Sections
; ---------------------------------------------------------
[MouFilter_CopyFiles]
Apfiltr.sys

[MouFilter_CopyFilesDll]
Vxdif.dll

[MouFilter_CopyFilesHome]
Apoint.exe
ApntEx.exe
Apoint.dll
Elprop.dll
EzAuto.dll
Uninstap.exe
ApInst.dll
hidfind.exe
ApMsgFwd.exe
ApMouCpl.dll
DellTPad.exe

[MouFilter_CopyFilesCursor]
CirScrL.cur
CirScrR.cur
CirScrU.cur
CirScrD.cur
PadScrH.cur
PadScrV.cur
StkScr.cur
Zoom.cur
PadScr.cur
Rotation.cur

[MouFilter_CopyFiles_CoInstaller]
WdfCoInstaller01009.dll

; AddReg Sections
; ---------------------------------------------------------
[MouFilter_Inst.HW.AddReg]                                        
HKR,,			"UpperFilters",			0x00010000,"ApfiltrService"
HKLM,%UNINST%

[MouFilter_Inst.AddReg] 
HKCR,CLSID\%APOINT_GUID%\InProcServer32,,		0x00000000,%16422%\%Apoint_Path%\Apoint.dll
HKCR,CLSID\%APOINT_GUID%\InProcServer32,ThreadingModel,	0x00000000,Apartment
HKLM,%SHELLPROP%\Alps 1Apoint Page,,			0x00000000,%APOINT_GUID%
HKCR,CLSID\%APMOUCPL_GUID%\InProcServer32,,		0x00000000,%16422%\%Apoint_Path%\ApMouCpl.dll	;Add "Dell Touchpad"-tab to "Mouse Properties".
HKCR,CLSID\%APMOUCPL_GUID%\InProcServer32,ThreadingModel,	0x00000000,Apartment
HKLM,%SHELLPROP%\AlpsDellTouchpad,,				0x00000000,%APMOUCPL_GUID%

HKLM,%UNINST%,		"UninstallString",		0x00000000,%16422%\%Apoint_Path%\Uninstap.exe ADDREMOVE
HKLM,%UNINST%,		"DisplayName",			0x00000000,"Dell Touchpad"
HKLM,%UNINST%,		"DisplayIcon",			0x00000000, %16422%\%Apoint_Path%\DellTPad.exe
HKLM,%UNINST%,		"DisplayVersion",		0x00000000,	%DriverOEMVersion%
HKLM,%UNINST%,		"Publisher",			0x00000000,	"ALPS ELECTRIC CO., LTD."
HKLM,%UNINST%,		"InstallLocation",		0x00000000, %16422%\%Apoint_Path%
HKLM,%UNINST%,		"VersionMajor",			0x00010001,	0x00000007
HKLM,%UNINST%,		"VersionMinor",			0x00010001,	0x000003EF

;// Auto Run Apoint.exe
HKLM,%RUN%,		"Apoint",			0x00000000,%16422%\%Apoint_Path%\Apoint.exe

;// Set HKLM\Software\Alps\Apoint
HKLM,%SetApoint%,	"HomeDirectory",		0x00020000,%16422%\%Apoint_Path%
HKLM,%SetApoint%,	"TrayIcon",			0x00020000,TRUE
HKLM,%SetApoint%,	"UseSound",			0x00010001,0x00000000
HKLM,%SetApoint%,	"ProductVer",			0x00020000,%ProductVersion%
HKLM,%SetApoint%,	"SnapTo",			0x00010001,0x00000000
HKLM,%SetApoint%,	"EnableMultiUser",		0x00010001,0x00000002
HKLM,%SetApoint%,	"SupportFunctionTab",		0x00010001,0x000005fb
HKLM,%SetApoint%,	"TouchSensitivity",		0x00010001,0x00000008
HKLM,%SetApoint%,	"Install_Flag",			0x00010001,0x00000001
HKLM,%SetApoint%,	"EnableAreaSwitch",		0x00010001,0x00000001
HKLM,%SetApoint%,	"EnableTouchSensitivity",	0x00010001,0x00000001
HKLM,%SetApoint%,	"SupportLanguage",		0x00010001,0x3ff77fff
HKLM,%SetApoint%,	"GP_Series",			0x00010001,0x00000002
HKLM,%SetApoint%,	"SP_PressMenuDisp",		0x00010001,0x00000000
HKLM,%SetApoint%,	"DualType2ButtonOr",		0x00010001,0x00000001
HKLM,%SetApoint%,	"OEM_ID",			0x00010001,0x00000001
HKLM,%SetApoint%,	"Support_USB_Button_Swap",	0x00010001,0x00000001
HKLM,%SetApoint%,	"HidFindLaunchSW",		0x00010001,0x00000001
HKLM,%SetApoint%,	"TouchPadOnOffContext",		0x00010001,0x00000000
HKLM,%SetApoint%,	"TouchPadOnOffLocked",		0x00010001,0x00000001
HKLM,%SetApoint%,	"ApMsgFwd_Flags", 		0x00010001,0x000002FF
HKLM,%SetApoint%,	"ID_Emulate_Switch",		0x00010001,0x00000001
HKLM,%SetApoint%,	"Target_ID",			0x00010001,0x00500273
HKLM,%SetApoint%,	"EmulateDeviceType",		0x00010001,0xA00114AD
HKLM,%SetApoint%,	"EmulateDeviceID",		0x00010001,0x000A0273
HKLM,%SetApoint%,	"UseCustomGUI", 		0x00010001,0x00000001
HKLM,%SetApoint%,	"CustomGUI_Name",		0x00020000,"DellTPad.exe"
HKLM,%SetApoint%,	"Lang_CH_HongKong",		0x00010001,0x00000003
HKLM,%SetApoint%,	"Lang_CH_Macau",		0x00010001,0x00000003
HKLM,%SetApoint%,	"Lang_CH_Singapore",		0x00010001,0x00000002
HKLM,%SetApoint%,	"Lang_PO_Portugal", 		0x00010001,0x00000003
HKLM,%SetApoint%,	"SkinType", 			0x00010001,0x00000003
HKLM,%SetApoint%,	"UseBtnMessageVersion", 	0x00010001,0x00000600
HKLM,%SetApoint%,	"CursorChangeType", 		0x00010001,0x02211312
HKLM,%SetApoint%,	"DisableForceOffClickLock",	0x00010001,0x00000001
HKLM,%SetApoint%,	"SupportMultiGesture",		0x00010001,0x00000000
HKLM,%SetApoint%,	"ShowMultiGestureUI",		0x00010001,0x00000000
HKLM,%SetApoint%,	"CirqueLogicEnable",		0x00010001,0x00000001

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

;// Set HKLM\Software\Alps\Apoint\Button
HKLM,%SetButton%,	"ButtonFunction",		0x00010001,0x0054e500
HKLM,%SetButton%,	"DoubleClkSpeed",		0x00010001,0x00000008
HKLM,%SetButton%,	"EnableWheel",			0x00010001,0x00000003
HKLM,%SetButton%,	"USB_Button_Swap",		0x00010001,0x00000000
HKLM,%SetButton%,	"AppReg1",			0x00000000,""
HKLM,%SetButton%,	"AppReg2",			0x00000000,""
HKLM,%SetButton%,	"AppReg3",			0x00000000,""
HKLM,%SetButton%,	"AppReg8",			0x00000000,""
HKLM,%SetButton%,	"SmoothScroll",			0x00010001,0x00000000
HKLM,%SetButton%,	"Scroll_HV",			0x00010001,0x00000003
HKLM,%SetButton%,	"ButtonFunction0",		0x00010001,0x00000005
HKLM,%SetButton%,	"ButtonFunction1",		0x00010001,0x00000005
HKLM,%SetButton%,	"ButtonFunction2",		0x00010001,0x00000004
HKLM,%SetButton%,	"ButtonFunction3",		0x00010001,0x0000000e
HKLM,%SetButton%,	"ButtonFunction8",		0x00010001,0x0000000e
HKLM,%SetButton%,	"SPFunction0",		0x00010001,0x00000005
HKLM,%SetButton%,	"SPFunction1",		0x00010001,0x00000005
HKLM,%SetButton%,	"SPFunction2",		0x00010001,0x00000004
HKLM,%SetButton%,	"SPFunction3",		0x00010001,0x00000010
HKLM,%SetButton%,	"SPFunction8",		0x00010001,0x0000000e
HKLM,%SetButton%,	"MouFunction1",		0x00010001,0x00000005
HKLM,%SetButton%,	"MouFunction2",		0x00010001,0x00000004
HKLM,%SetButton%,	"MouFunction3",		0x00010001,0x0000000e

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

;// Set HKLM\Software\Alps\Apoint\Tapping
HKLM,%SetTapping%,	"Tapping",			0x00010001,0x00000001
HKLM,%SetTapping%,	"TapSettings",			0x00010001,0x00000009
HKLM,%SetTapping%,	"TapTyping",			0x00010001,0x00000001
HKLM,%SetTapping%,	"TapTypingDelay",		0x00010001,0x00000002
HKLM,%SetTapping%,	"AutoRelease",			0x00010001,0x00000001
HKLM,%SetTapping%,	"TouchSensitivity",		0x00010001,0x00000008
HKLM,%SetTapping%,	"TypingDetect",			0x00010001,0x00000002
HKLM,%SetTapping%,	"TypingInhibit",		0x00010001,0x0000002f
HKLM,%SetTapping%,	"EnableCustomTapOffTimer",	0x00010001,0x00000001
HKLM,%SetTapping%,	"CustomTapOffTimer",		0x00000000,"200,350,500,1500,2500"

;// Set HKLM\Software\Alps\Apoint\Gesture
HKLM,%SetGesture%,	"EasyX",			0x00010001,0x00000000
HKLM,%SetGesture%,	"EnableFB",			0x00010001,0x00000000
HKLM,%SetGesture%,	"LockAreaSet",			0x00010001,0x00000001
HKLM,%SetGesture%,	"CornerTapOffsetX",		0x00010001,0x0000004b
HKLM,%SetGesture%,	"CornerTapOffsetY",		0x00010001,0x0000004b
HKLM,%SetGesture%,	"PadScrollLines",		0,3
HKLM,%SetGesture%,	"AppReg0",			0x00000000,""
HKLM,%SetGesture%,	"AppReg1",			0x00000000,""
HKLM,%SetGesture%,	"AppReg2",			0x00000000,""
HKLM,%SetGesture%,	"AppReg3",			0x00000000,""
HKLM,%SetGesture%,	"ShowCorner",			0x00010001,0x01100110
HKLM,%SetGesture%,	"ScrollSettingType",		0x00010001,0x00000003
HKLM,%SetGesture%,	"CoverSetting",			0x00010001,0x00000002
HKLM,%SetGesture%,	"EnablePalmRejection",	0x00010001,0x00000001
HKLM,%SetGesture%,	"PanSupport",		0x00010001, 0x00000001
HKLM,%SetGesture%,	"PinchSupport",		0x00010001, 0x00000001
HKLM,%SetGesture%,	"TwistSupport",		0x00010001, 0x00000001
HKLM,%SetGesture%,	"CoverSupport",		0x00010001, 0x00000001
HKLM,%SetGesture%,	"PanFunc",			0x00010001, 0x00000001
HKLM,%SetGesture%,	"PinchFunc",		0x00010001, 0x00000002
HKLM,%SetGesture%,	"TwistFunc",		0x00010001, 0x00000003
HKLM,%SetGesture%,	"CoverFunc",		0x00010001, 0x00000004
HKLM,%SetGesture%,	"PanShow",			0x00010001, 0x00000001
HKLM,%SetGesture%,	"PinchShow",		0x00010001, 0x00000001
HKLM,%SetGesture%,	"TwistShow",		0x00010001, 0x00000001
HKLM,%SetGesture%,	"CoverShow",		0x00010001, 0x00000001
HKLM,%SetGesture%,	"FingerSizeShow",		0x00010001, 0x00000001
HKLM,%SetGesture%,	"PalmCheck",		0x00010001, 0x00000001

;// Set HKLM\Software\Alps\Stick
HKLM,%SetStick%,	"SPSpeed",				0x00010001,0x00000050
HKLM,%SetStick%,	"SPTapping",			0x00010001,0x00000001
HKLM,%SetStick%,	"SPTapSettings",		0x00010001,0x00000001
HKLM,%SetStick%,	"SPTapTyping",			0x00010001,0x00000001
HKLM,%SetStick%,	"SPTapTypingDelay",		0x00010001,0x00000002
HKLM,%SetStick%,	"SPTypingInhibit",		0x00010001,0x00000007
HKLM,%SetStick%,	"EnableSPCustomTapOffTimer",	0x00010001,0x00000001
HKLM,%SetStick%,	"SPCustomTapOffTimer",		0x00000000,"200,350,500,1500,2500"
HKLM,%SetStick%,	"SPFunction",			0x00010001,0x0054a500
HKLM,%SetStick%,	"SPScroll",				0x00010001,0x00000002 ; B0:SP Scroll Bit / B1:1 Only
HKLM,%SetStick%,	"SPScrollLines",		0,2
HKLM,%SetStick%,	"SP_PressSelect",		0x00010001,0x00000000
HKLM,%SetStick%,	"SpTypingSound",		0x00000000,""
HKLM,%SetStick%,	"SPScrollThreshold",	0x00010001,0x00000096

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

;// Set HKLM\Software\Alps\USBMouse
HKLM,%SetUSBMouse%,	"USBMouse",			0x00010001,0x00000000
HKLM,%SetUSBMouse%,	"ShowBalloon",			0x00010001,0x00055555

;// Set HKLM\Software\Alps\USBMouse\Exceptions (; VVVVPPPP (VVVV=VID,PPPP=PID))
HKLM,%SetUSBMouseExcept%, "USB_0",			0x00010001,0x0A5C4503	; for BT355
HKLM,%SetUSBMouseExcept%, "USB_1",			0x00010001,0x413C8103	; for BT350
HKLM,%SetUSBMouseExcept%, "USB_2",			0x00010001,0x413C8126	; for Entwood/Fangron 355
HKLM,%SetUSBMouseExcept%, "USB_3",			0x00010001,0x413C8127	; for Entwood/Fangron 355
HKLM,%SetUSBMouseExcept%, "USB_4",			0x00010001,0x413C8140	; for Riveria/Suncoast 360
HKLM,%SetUSBMouseExcept%, "USB_5",			0x00010001,0x413C8145	; for Redrock 400
HKLM,%SetUSBMouseExcept%, "USB_6",			0x00010001,0x413C8146	; for Redrock 400
HKLM,%SetUSBMouseExcept%, "USB_7",			0x00010001,0x413C8154	; for Hardrock 410
HKLM,%SetUSBMouseExcept%, "USB_8",			0x00010001,0x413C8158	; for Littlerock 370
HKLM,%SetUSBMouseExcept%, "USB_9",			0x00010001,0x413C8162	; for Littlestone 365
HKLM,%SetUSBMouseExcept%, "USB_10",			0x00010001,0x413C8167	; for Littlestone 365
HKLM,%SetUSBMouseExcept%, "USB_11",			0x00010001,0x413C8168	; for Littlerock 370
HKLM,%SetUSBMouseExcept%, "USB_12",			0x00010001,0x413C8169	; for Hardrock 410
HKLM,%SetUSBMouseExcept%, "USB_13",			0x00010001,0x413C8151	; for Hardrock 410
HKLM,%SetUSBMouseExcept%, "USB_14",			0x00010001,0x413C8155	; for Littlerock 370
HKLM,%SetUSBMouseExcept%, "USB_15",			0x00010001,0x413C8159	; for Littlestone 365
HKLM,%SetUSBMouseExcept%, "USB_16",			0x00010001,0x413C8160	; for DELL Wireless 365 Bluetooth Module

;// Set HKLM\Software\Alps\Exceptions
HKLM,%SetExceptions%,	"PP97FrameClass",		0x00020000,""
HKLM,%SetExceptions%,	"PP9FrameClass",		0x00020000,""
HKLM,%SetExceptions%,	"PP10FrameClass",		0x00020000,""
HKLM,%SetExceptions%,	"PP11FrameClass",		0x00020000,""
HKLM,%SetExceptions%,	"OpusApp",			0x00020000,""
HKLM,%SetExceptions%,	"XLMAIN",			0x00020000,""
HKLM,%SetExceptions%,	"IEFrame",			0x00010001,0x00000001
HKLM,%SetExceptions%,	"MSPhotoEditor32MainClass",	0x00020000,""
HKLM,%SetExceptions%,	"CabinetWClass",		0x00020000,""
HKLM,%SetExceptions%,	"ShImgVW:CPreviewWnd",		0x00020000,""
HKLM,%SetExceptions%,	"WinCalWnd",			0x00020000,""
HKLM,%SetExceptions%,	"rctrl_renwnd32",		0x00020000,""

;// Set HKLM\Software\Alps\Apoint\InertialMovemnet
HKLM,%SetIM%,		"EnableInertialMovement",	0x00010001,0x00000001
HKLM,%SetIM%,		"EnableOnlyWhenDrag",		0x00010001,0x00000001
HKLM,%SetIM%,		"Horizontal_Left",		0x00010001,0x00000040
HKLM,%SetIM%,		"Horizontal_Right",		0x00010001,0x00000040
HKLM,%SetIM%,		"Vertical_Top",			0x00010001,0x00000040
HKLM,%SetIM%,		"Vertical_Bottom",		0x00010001,0x00000040
HKLM,%SetIM%,		"IM_Delta",			0x00010001,0x00000001
HKLM,%SetIM%,		"IM_DeltaAlpha",		0x00010001,0x0000004b
HKLM,%SetIM%,		"IM_Period",			0x00010001,0x00000032
HKLM,%SetIM%,		"IM_Speed",			0x00010001,0x00000003
HKLM,%SetIM%,		"IM_SuppressMove",		0x00010001,0x00000000

;// Set HKLM\Software\Microsoft\MobilePC\MobilityCenter\Tiles\DellTPad
;HKLM,%SetMobilityCenter%,	"TileName",	0x00020000,"""%ProgramFiles%\Apoint\ApMouCpl.dll"",101"
;HKLM,%SetMobilityCenter%,	"Icon",		0x00020000,"""%ProgramFiles%\Apoint\ApMouCpl.dll"",201"
;HKLM,%SetMobilityCenter%,	"IconAction",	0x00020000,"""%ProgramFiles%\Apoint\DellTPad.exe"""
;HKLM,%SetMobilityCenter%,	"IconToolTip",	0x00020000,"""%ProgramFiles%\Apoint\ApMouCpl.dll"",303"
;HKLM,%SetMobilityCenter%,	"StatusText",	0x00020000,"""%ProgramFiles%\Apoint\ApMouCpl.dll"",301"
;HKLM,%SetMobilityCenter%,	"ButtonAction",	0x00020000,"""%ProgramFiles%\Apoint\DellTPad.exe"""
;HKLM,%SetMobilityCenter%,	"ButtonLabel",	0x00020000,"""%ProgramFiles%\Apoint\ApMouCpl.dll"",302"

;// Set Parameters (Drivers)
HKR,,"DoubleClkSpeed",			0x00010001,0x00000008
HKR,,"Tapping",				0x00010001,0x00000001
HKR,,"TapSettings",			0x00010001,0x00000009
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,0x00000000
HKR,,"CornerTapOffsetX",		0x00010001,0x0000004b
HKR,,"CornerTapOffsetY",		0x00010001,0x0000004b
HKR,,"EnableWheel",			0x00010001,0x00000003
HKR,,"RightBtnEmulation",		0x00010001,0x00000000
HKR,,"ButtonFunction",			0x00010001,0x0054e500
HKR,,"MouseSynchIn100nsForMultiDevice",	0x00010001,0x00000000
HKR,,"LR_Timelag",			0x00010001,0x00000000
HKR,,"LR_Timelag_Cond",			0x00010001,0x00000001
HKR,,"TapTyping",			0x00010001,0x00000001
HKR,,"TapTypingDelay",			0x00010001,0x00000002
HKR,,"AutoRelease",			0x00010001,0x00000001
HKR,,"EnableFB",			0x00010001,0x00000000
HKR,,"SelectDevice",			0x00010001,0x0000003F
HKR,,"SPTapping",			0x00010001,0x00000001
HKR,,"SPTapTyping",			0x00010001,0x00000001
HKR,,"SPTapTypingDelay",		0x00010001,0x00000002
HKR,,"SPTapping",			0x00010001,0x00000001
HKR,,"SPTapSettings",			0x00010001,0x00000001
HKR,,"SPFunction",			0x00010001,0x0054a500
HKR,,"SPScroll",			0x00010001,0x00000002
HKR,,"ScrollCancelThreshold_X",		0x00010001,0x00000005
HKR,,"ScrollCancelThreshold_Y",		0x00010001,0x00000005
HKR,,"ScrollCancelAngle_X",			0x00010001,0x0000000D
HKR,,"ScrollCancelAngle_Y",			0x00010001,0x0000000D
HKR,,"ScrollDecideThreshold_X",		0x00010001,0x00000023
HKR,,"ScrollDecideThreshold_Y",		0x00010001,0x00000023
HKR,,"PM_Resume",			0x00010001,0x00000000
HKR,,"UseIMECap",			0x00010001,0x00000000
HKR,,"OldSetPostMsgInfo",		0x00010001,0x00000001
HKR,,"EnableAreaSwitch",		0x00010001,0x00000001
HKR,,"EnableTouchSensitivity",		0x00010001,0x00000001
HKR,,"ZThresholdMode",			0x00010001,0x00000003
HKR,,"EnableRawMode",			0x00010001,0x00000001
HKR,,"RecoveryBIODP_Enable",		0x00010001,0x00000001
HKR,,"SP_Raw_Usability",		0x00000001,0x01,0x00,0x02,0x00,0x01,0x00
HKR,,"SP_ReviseBallisticCurve_Enable",	0x00010001,0x00000001
HKR,,"SP_ReviseBallisticCurve_Pram_1",	0x00010001,0x07000078
HKR,,"SP_ReviseBallisticCurve_Pram_2",	0x00010001,0x13000021
HKR,,"SP_ReviseBallisticCurve_Pram_3",	0x00010001,0xFF000021
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,0x0000000D
HKR,,"SP_NoSpeedAccThreshold",		0x00010001,0x00000001
HKR,,"DataModeSwitchTime",		0x00010001,0x00000064
HKR,,"GP_Raw_CountToLeave",		0x00010001,0x00000001
HKR,,"SP_Raw_AccCurve_Type",		0x00010001,0x00000000
HKR,,"SP_Raw_ReviseCurve_Enable",	0x00010001,0x00000001
HKR,,"SP_Raw_ReviseCurve_Param_1",	0x00010001,0x00000011
HKR,,"SP_Raw_ReviseCurve_Param_2",	0x00010001,0x000001F4
HKR,,"SP_Raw_EnableButtonOR",		0x00010001,0x00000001
HKR,,"SP_Raw_ReviseLinear_Type",	0x00010001,0x00000001
HKR,,"SP_Raw_ReviseLinear_AppSpeed",	0x00010001,0x0000000A
HKR,,"SP_Raw_BrakeStrength",		0x00010001,0x00000064
HKR,,"SP_Raw_BrakeFactor_MinSpeed",	0x00010001,0x00000019
HKR,,"SP_Raw_BrakeFactor_AppSpeed",	0x00010001,0x00000012
HKR,,"CheckButtonAfterLeave",		0x00010001,0x14001400
HKR,,"SendCmdBeforeReset",		0x00010001,0x00000001
HKR,,"WatchDog_Flag",			0x00010001,0x00000001
HKR,,"WatchDog_Timeout",		0x00010001,0x00001388
HKR,,"ChangeAccelCurve_Enable",		0x00010001,0x00000001
HKR,,"SendCmdWhenSelectDevice",		0x00010001,0x00000001
HKR,,"ISDR_Enable",			0x00010001,0x00000001
HKR,,"ResendCmdSet",			0x00010001,0x00000001
HKR,,"TouchSensitivity",		0x00010001,0x00000008
HKR,,"EnablePadScrollHV",		0x00010001,0x00000003
HKR,,"SP_PressSelect",			0x00010001,0x00000000
HKR,,"GP_ScrollThreshold_V",		0x00010001,0x00000032
HKR,,"GP_ScrollThreshold_H",		0x00010001,0x00000032
HKR,,"OfficeScrollSrc",			0x00010001,0x00000001
HKR,,"UseVariableAccTable",		0x00010001,0x00000001
HKR,,"i8042_WatchDog_Flag",		0x00010001,0x00000000
HKR,,"DisablePadOperation",		0x00010001,0x00000000
HKR,,"CursorSpeedScale_Enable",		0x00010001,0x00000001
HKR,,"PegasusMonitorModeFlags",		0x00010001,0x00000009
HKR,,"InhibitResetForDS5",		0x00010001,0x00000001
HKR,,"UseMercuryRawAcc",		0x00010001,0x00000001
HKR,,"ZAdjust_Enable",			0x00010001,0x00000001
HKR,,"ZAdjust_Area",			0x00010001,0x000000a8
HKR,,"ZAdjust_ZThresh",			0x00010001,0x0000001e
HKR,,"ZAdjust_Value",			0x00010001,0x0000000f
HKR,,"DriverFunctionFlag",			0x00010001,0x00000001
HKR,,"MT_Pan_enable",   		0x00010001,0x00000001
HKR,,"MT_Pinch_enable",   		0x00010001,0x00000001
HKR,,"MT_Twist_enable",   		0x00010001,0x00000001
HKR,,"MT_Cover_enable",   		0x00010001,0x00000001
HKR,,"MT_Flick_enable",   		0x00010001,0x00000000
HKR,,"MT_Palm_enable",    		0x00010001,0x00000001
HKR,,"MT_PalmCheck",			0x00010001,0x00000001
HKR,,"MaxDistanceForDrag",  		0x00010001,0x000000B4
HKR,,"CursorSpeedScale_GP",  		0x00010001,0x00000096
HKR,,"MT_CirqueLogicEnable",  		0x00010001,0x00000001
HKR,,"PinnacleAG_X_wide_thresh",		0x00010001, 0x008A0003
HKR,,"PinnacleAG_Z_thresh_cnst",		0x00010001, 0x008A0026
HKR,,"PinnacleInitCalibEnable",		0x00010001, 0x00000001
HKR,,"RecalIdleTimeout",		0x00010001, 0x00000BB8
HKR,,"TapReenableDist",				0x00010001,0x00640064
HKR,,"PinnacleAG_source_priority",	0x00010001,0x00000000
HKR,,"NumberOfRetrySPInit",			0x00010001,0x00000005
HKR,,"ReInitForInvalidDataErr",		0x00010001,0x00000001
HKR,,"DisableTouchPad_Type",		0x00010001,0x00000001
HKR,,"MT_RecogStopDist",		0x00010001,0x02800380
HKR,,"MT_Pivot_enough_cnt",		0x00010001,0x00000001
HKR,,"ExtendedLogicFlag",		0x00010001,0xFFFFFFFF
HKR,,"EnoughZCntForTap",			0x00010001,0x00000002
HKR,,"InhibitBtnTap_Setting",		0x00010001,0x00000020
;HKR,,"MiscompensationCheck_Enable",	0x00010001,0x00000040


;// Set HKLM\Software\Alps\Apoint\Params\Default

HKLM,%SetParamsDef%,MouseSensitivity_2K,	0x00010001,10
HKLM,%SetParamsDef%,MouseSpeed_2K,		0x00010001,1
HKLM,%SetParamsDef%,MouseThreshold1_2K,	0x00010001,7
HKLM,%SetParamsDef%,MouseThreshold2_2K,	0x00010001,0
HKLM,%SetParamsDef%,MouseSensitivity_XP,	0x00010001,10
HKLM,%SetParamsDef%,MouseSpeed_XP,		0x00010001,1
HKLM,%SetParamsDef%,MouseThreshold1_XP,	0x00010001,6
HKLM,%SetParamsDef%,MouseThreshold2_XP,	0x00010001,10
HKLM,%SetParamsDef%,TrayIcon,		0x00010001,0x00000001
HKLM,%SetParamsDef%,SelectDevice,		0x00010001,0x0000003F
HKLM,%SetParamsDef%,USBMouse,		0x00010001,0x00000000
HKLM,%SetParamsDef%,ButtonFunction,	0x00010001,0x0054e500
HKLM,%SetParamsDef%,DoubleClkSpeed,	0x00010001,0x00000008
HKLM,%SetParamsDef%,USB_Button_Swap,	0x00010001,0x00000000
HKLM,%SetParamsDef%,CoverSetting,		0x00010001,0x00000002
HKLM,%SetParamsDef%,EnablePalmRejection,	0x00010001,0x00000001
HKLM,%SetParamsDef%,TouchSensitivity,	0x00010001,0x00000008
HKLM,%SetParamsDef%,Tapping,		0x00010001,0x00000001
HKLM,%SetParamsDef%,TapSettings,		0x00010001,0x00000009
HKLM,%SetParamsDef%,TapTyping,		0x00010001,0x00000001
HKLM,%SetParamsDef%,TapTypingDelay,	0x00010001,0x00000002
HKLM,%SetParamsDef%,SPScroll,		0x00010001,0x00000002
HKLM,%SetParamsDef%,SPSpeed,		0x00010001,0x00000050
HKLM,%SetParamsDef%,SPTapping,		0x00010001,0x00000001
HKLM,%SetParamsDef%,SPTapSettings,		0x00010001,0x00000001
HKLM,%SetParamsDef%,SPTapTyping,		0x00010001,0x00000001
HKLM,%SetParamsDef%,SPTapTypingDelay,	0x00010001,0x00000002
HKLM,%SetParamsDef%,EnableFB,		0x00010001,0x00000000
HKLM,%SetParamsDef%,EnableWheel,		0x00010001,0x00000003
HKLM,%SetParamsDef%,CornerTapOffsetX,	0x00010001,0x0000004b
HKLM,%SetParamsDef%,CornerTapOffsetY,	0x00010001,0x0000004b
HKLM,%SetParamsDef%,ScrollWidth_V_Narrow,	0x00010001,0x00000032
HKLM,%SetParamsDef%,ScrollWidth_H_Narrow,	0x00010001,0x00000032
HKLM,%SetParamsDef%,ScrollWidth_V_Normal,	0x00010001,0x0000004b
HKLM,%SetParamsDef%,ScrollWidth_H_Normal,	0x00010001,0x0000004b
HKLM,%SetParamsDef%,ScrollWidth_V_Wide,		0x00010001,0x00000064
HKLM,%SetParamsDef%,ScrollWidth_H_Wide,		0x00010001,0x00000064
HKLM,%SetParamsDef%,PadScrollLines,	0x00010001,0x00000003
HKLM,%SetParamsDef%,DoubleClickSpeed,	0x00010001,0x00000226
HKLM,%SetParamsDef%,ButtonFunction0,	0x00010001,0x00000005
HKLM,%SetParamsDef%,ButtonFunction1,	0x00010001,0x00000005
HKLM,%SetParamsDef%,ButtonFunction2,	0x00010001,0x00000004
HKLM,%SetParamsDef%,ButtonFunction3,	0x00010001,0x0000000e
HKLM,%SetParamsDef%,ButtonFunction8,	0x00010001,0x0000000e
HKLM,%SetParamsDef%,SPFunction0,		0x00010001,0x00000005
HKLM,%SetParamsDef%,SPFunction1,		0x00010001,0x00000005
HKLM,%SetParamsDef%,SPFunction2,		0x00010001,0x00000004
HKLM,%SetParamsDef%,SPFunction3,		0x00010001,0x0000000e
HKLM,%SetParamsDef%,SPFunction8,		0x00010001,0x0000000e
HKLM,%SetParamsDef%,MouFunction1,		0x00010001,0x00000005
HKLM,%SetParamsDef%,MouFunction2,		0x00010001,0x00000004
HKLM,%SetParamsDef%,MouFunction3,		0x00010001,0x0000000e

[PAG1p4_Multi.AddReg]
HKLM,%SetGesture%,	"FingerSizeShow",		0x00010001,0x00000000
HKR,,			"JF_InitThreshold",		0x00010001,0x00004E20
HKR,,			"JF_SustainLevel",		0x00010001,0x000000C8
HKR,,			"PinnacleAG_PacketSize",	0x00010001,0x00000009
HKR,,			"PinnacleAG_X_wide_thresh",	0x00010001,0x008A0004
HKR,,			"DrumFilter",			0x00010001,0x016801E0
HKR,%SetAGPlus%,	"PinnacleAG_Y_NERD_thresh",	0x00010001,0x00040003
HKR,%SetAGPlus%,	"MT_Cover_num_nodes",		0x00010001,0x000A000D
HKR,%SetAGPlus%,	"MT_Cover_num_nodes_f",		0x00010001,0x000A000D
HKR,%SetAGPlus%,	"PinnacleAG_enable_filter",	0x00010001,0x00000000
HKR,%SetAGPlus%,	"RawModeFilterLevel",		0x00010001,0xFFF56514
HKR,%SetAGPlus%,	"MT_ReleaseCount",		0x00010001,0x00000002
HKR,%SetAGPlus%,	"MT_MinMovementPost",		0x00010001,0x004B0064

[PAG1p4_Single.AddReg]
HKLM,%SetGesture%,	"PanSupport",			0x00010001,0x00000000
HKLM,%SetGesture%,	"PinchSupport",			0x00010001,0x00000000
HKLM,%SetGesture%,	"TwistSupport",			0x00010001,0x00000000
HKLM,%SetGesture%,	"CoverSupport",			0x00010001,0x00000000
HKLM,%SetGesture%,	"PanShow",			0x00010001,0x00000000
HKLM,%SetGesture%,	"PinchShow",			0x00010001,0x00000000
HKLM,%SetGesture%,	"TwistShow",			0x00010001,0x00000000
HKLM,%SetGesture%,	"CoverShow",			0x00010001,0x00000000
HKLM,%SetGesture%,	"FingerSizeShow",		0x00010001,0x00000000
HKR,,			"ExtendedLogicFlag",		0x00010001,0x00000000
HKR,,			"MT_Pan_enable",		0x00010001,0x00000000
HKR,,			"MT_Pinch_enable",		0x00010001,0x00000000
HKR,,			"MT_Twist_enable",		0x00010001,0x00000000
HKR,,			"MT_Cover_enable",		0x00010001,0x00000000
HKR,%SetAGPlus%,	"PinnacleAG_Y_NERD_thresh",	0x00010001,0x00040003
HKR,%SetAGPlus%,	"MT_Cover_num_nodes",		0x00010001,0x000A000D
HKR,%SetAGPlus%,	"MT_Cover_num_nodes_f",		0x00010001,0x000A000D
HKR,%SetAGPlus%,	"PinnacleAG_enable_filter",	0x00010001,0x00000000
HKR,%SetAGPlus%,	"RawModeFilterLevel",		0x00010001,0xFFF56514
HKR,%SetAGPlus%,	"MT_ReleaseCount",		0x00010001,0x00000002
HKR,%SetAGPlus%,	"MT_MinMovementPost",		0x00010001,0x004B0064

[2F-ScrollLock.AddReg]
HKLM,%SetGesture%,	"2FlickSupport",		0x00010001,0x00000001
HKLM,%SetGesture%,	"Enable2Flick",			0x00010001,0x00000003
HKLM,%SetGesture%,	"2FlickHorFunc",		0x00010001,0x00020002
HKLM,%SetGesture%,	"2FlickVerFunc",		0x00010001,0x00020002
HKLM,%SetGesture%,	"2FlickVerUSetting",		0x00020000,"100"
HKLM,%SetGesture%,	"2FlickVerDSetting",		0x00020000,"100"
HKLM,%SetGesture%,	"2FlickHorLSetting",		0x00020000,"100"
HKLM,%SetGesture%,	"2FlickHorRSetting",		0x00020000,"100"
HKLM,%SetParamsDef%,	"2FlickVerUSetting",		0x00020000,"100"
HKLM,%SetParamsDef%,	"2FlickVerDSetting",		0x00020000,"100"
HKLM,%SetParamsDef%,	"2FlickHorLSetting",		0x00020000,"100"
HKLM,%SetParamsDef%,	"2FlickHorRSetting",		0x00020000,"100"
HKLM,%SetParamsDef%,	"Enable2Flick",			0x00010001,0x00000003
HKR,%SetAGPlus%,	"MT_2Flick_enable",		0x00010001,0x00000003

[3F-Gestures_TDC.AddReg]
HKLM,%SetGesture%,	"3FlickSupport",		0x00010001,0x00000001
HKLM,%SetGesture%,	"3FlickShow",			0x00010001,0x00000001
HKLM,%SetGesture%,	"Enable3Flick",			0x00010001,0x00000003
HKLM,%SetGesture%,	"3FlickHorFunc",		0x00010001,0x00050006
HKLM,%SetGesture%,	"3FlickVerFunc",		0x00010001,0x00030004
HKLM,%SetGesture%,	"3PressSupport",		0x00010001,0x00000001
HKLM,%SetGesture%,	"3PressShow",			0x00010001,0x00000003
HKLM,%SetGesture%,	"Enable3Press",			0x00010001,0x00000001
HKLM,%SetGesture%,	"3PressFunc",			0x00010001,0x00000006
HKLM,%SetGesture%,	"3PressSetting",		0x00010001,0x000000FF
HKLM,%SetGesture%,	"3PressSettingEx",		0x00020000,"Notepad.exe"
HKLM,%SetParamsDef%,	"Enable3Flick",			0x00010001,0x00000003
HKLM,%SetParamsDef%,	"Enable3Press",			0x00010001,0x00000001
HKLM,%SetParamsDef%,	"3PressSettingEx",		0x00020000,"Notepad.exe"
HKR,%SetAGPlus%,	"MT_3Flick_enable",		0x00010001,0x00000003
HKR,%SetAGPlus%,	"MT_3Press_enable",		0x00010001,0x00000001
HKR,%SetAGPlus%,	"MT_3Press_xy_max",		0x00010001,0x00000046
HKR,%SetAGPlus%,	"MT_3Press_pos_change",		0x00010001,0x00460046
HKR,%SetAGPlus%,	"MT_3Press_thresh_pcount",	0x00010001,0x0000001E

[3F-Gestures_ADC.AddReg]
HKLM,%SetGesture%,	"3FlickSupport",		0x00010001,0x00000001
HKLM,%SetGesture%,	"3FlickShow",			0x00010001,0x00000013
HKLM,%SetGesture%,	"Enable3Flick",			0x00010001,0x00000000
HKLM,%SetGesture%,	"3FlickHorFunc",		0x00010001,0x00050006
HKLM,%SetGesture%,	"3FlickVerFunc",		0x00010001,0x00000007
HKLM,%SetGesture%,	"3FlickVerDSetting",		0x00020000,"Notepad.exe"
HKLM,%SetParamsDef%,	"Enable3Flick",			0x00010001,0x00000000
HKLM,%SetParamsDef%,	"3FlickVerDSetting",		0x00020000,"Notepad.exe"
HKR,%SetAGPlus%,	"MT_3Flick_enable",		0x00010001,0x00000003

[TP_OnOff_HotKey.AddReg]
HKLM,%SetApoint%,	"TouchPadDisableFunc",		0x00010001,0x00000001
HKLM,%SetApoint%,	"ApMsgFwd_HookFlags",		0x00010001,0x00000001
HKLM,%SetApoint%,	"TPStatusSetFunc",		0x00010001,0x00000001
HKLM,%SetApoint%,	"CustomTPSyncFlags",		0x00010001,0x00000004
HKLM,%SetApoint%,	"ApMsgWaitProcEnableFlg",	0x00010001,0x00000001
HKLM,%SetApoint%,	"TPStatusPriority",		0x00010001,0x00000001
HKLM,%SetApoint%,	"OnOffHotkeyInfo",		0x00010001,0x0001E01E
HKLM,%SetApoint%,	"TouchPadDisableFlags",		0x00010001,0x00000002
HKLM,%SetApoint%,	"Wait_Initialization",		0x00010001,0x00000001
HKLM,%SetApoint%,	"Wait_Time_Initialization",	0x00010001,0x000003E8
HKLM,%SetOther%,	"ShowBalloonTPStatus",		0x00010001,0x00010004


;-------------- Custom Settings

[MouFilter_Inst_Dell_E2_00.AddReg]
; [PAG1p4_Multi.AddReg]
HKR,,			"MT_Cover_num_nodes",		0x00010001,0x00040006
HKR,,			"TapReenableDist",		0x00010001,0x00A000A0
HKR,,			"PinnacleAG_Z_thresh_cnst",	0x00010001,0x008A002C
HKR,,			"PinnacleAG_Z_thresh_coef",	0x00010001,0x008A0009
HKR,%SetAGPlus%,	"PinnacleAG_Z_thresh_cnst",	0x00010001,0x009D0029
HKR,%SetAGPlus%,	"PinnacleAG_Z_thresh_coef",	0x00010001,0x009D0004

HKLM,%SetParamsDef%,	"TouchSensitivity_DLL040A_LowZ",	0x00010001,0x00000008
HKR,%SetAGPlus%,	"Check_HCO_X13",			0x00010001,0x00000001
HKR,%SetAGPlus%,	"PinnacleAG_Z_thresh_cnst_DLL040A_LowZ",0x00010001,0x009D001E
HKR,%SetAGPlus%,	"PinnacleAG_Z_thresh_coef_DLL040A_LowZ",0x00010001,0x009D0002

[MouFilter_Inst_Dell_E2_01.AddReg] 
; [PAG1p4_Multi.AddReg]
HKR,,			"PinnacleAG_Z_thresh_cnst",	0x00010001,0x008A002C
HKR,,			"PinnacleAG_Z_thresh_coef",	0x00010001,0x008A0009
HKR,%SetAGPlus%,	"PinnacleAG_Z_thresh_cnst",	0x00010001,0x009D0029
HKR,%SetAGPlus%,	"PinnacleAG_Z_thresh_coef",	0x00010001,0x009D0004

HKLM,%SetParamsDef%,	"TouchSensitivity_DLL040A_LowZ",	0x00010001,0x00000008
HKR,%SetAGPlus%,	"Check_HCO_X13",			0x00010001,0x00000001
HKR,%SetAGPlus%,	"PinnacleAG_Z_thresh_cnst_DLL040A_LowZ",0x00010001,0x009D001E
HKR,%SetAGPlus%,	"PinnacleAG_Z_thresh_coef_DLL040A_LowZ",0x00010001,0x009D0002

[MouFilter_Inst_Dell_E2_02.AddReg] 
; [PAG1p4_Multi.AddReg]
HKR,,			"MT_Cover_num_nodes",		0x00010001,0x00040006
HKR,,			"EnoughZCntForTap",		0x00010001,0x00000003
HKR,,			"PinnacleAG_Z_thresh_cnst",	0x00010001,0x008A002C
HKR,,			"PinnacleAG_Z_thresh_coef",	0x00010001,0x008A0009
HKR,%SetAGPlus%,	"PinnacleAG_Z_thresh_cnst",	0x00010001,0x009D0029
HKR,%SetAGPlus%,	"PinnacleAG_Z_thresh_coef",	0x00010001,0x009D0004

[MouFilter_Inst_Dell_E2_03.AddReg] 
; [PAG1p4_Multi.AddReg]
HKLM,%SetGesture%,	"EnablePan",			0x00010001,0x00000001
HKLM,%SetButton%,	"EnableWheel",			0x00010001,0x00000002
HKLM,%SetParamsDef%,	"EnablePan",			0x00010001,0x00000001
HKLM,%SetParamsDef%,	"EnableWheel",			0x00010001,0x00000002
HKR,,			"MT_Cover_num_nodes",		0x00010001,0x00040006
HKR,,			"TapReenableDist",		0x00010001,0x00A000A0
HKR,%SetAGPlus%,	"PinnacleAG_Z_thresh_cnst",	0x00010001,0x009D0029
HKR,%SetAGPlus%,	"PinnacleAG_Z_thresh_coef",	0x00010001,0x009D0004

[MouFilter_Inst_Dell_M11_01.AddReg] 
; [PAG1p4_Multi.AddReg] [3F-Gestures_TDC.AddReg] [TP_OnOff_HotKey.AddReg] [2F-ScrollLock.AddReg]
HKLM,%SetGesture%,	"EnablePan",			0x00010001,0x00000001
HKLM,%SetGesture%,	"EnablePinch",			0x00010001,0x00000001
HKLM,%SetGesture%,	"ScrollSettingType",		0x00010001,0x00000005
HKLM,%SetParamsDef%,	"EnablePan",			0x00010001,0x00000001
HKLM,%SetParamsDef%,	"EnablePinch",			0x00010001,0x00000001
HKR,,			"ForceClearTpStsEnable",	0x00010001,0x00000001
HKR,,			"MT_Cover_num_nodes",		0x00010001,0x00040006
HKR,,			"PinnacleAG_Z_thresh_cnst",	0x00010001,0x008A002C
HKR,,			"PinnacleAG_Z_thresh_coef",	0x00010001,0x008A0009
HKR,%SetAGPlus%,	"PinnacleAG_Z_thresh_cnst",	0x00010001,0x009D0029
HKR,%SetAGPlus%,	"PinnacleAG_Z_thresh_coef",	0x00010001,0x009D0004

[MouFilter_Inst_Dell_M11_02.AddReg] 
; [PAG1p4_Single.AddReg] [TP_OnOff_HotKey.AddReg]
HKLM,%SetApoint%,	"TouchSensitivity",		0x00010001,0x00000009
HKLM,%SetApoint%,	"Lang_PO_Portugal",		0x00010001,0x00000003
HKLM,%SetTapping%,	"TapSettings",			0x00010001,0x0000000b
HKLM,%SetTapping%,	"TouchSensitivity",		0x00010001,0x00000009
HKLM,%SetParamsDef%,	"TapSettings",			0x00010001,0x0000000b
HKLM,%SetParamsDef%,	"TouchSensitivity",		0x00010001,0x00000009
HKR,,			"TapSettings",			0x00010001,0x0000000b
HKR,,			"TouchSensitivity",		0x00010001,0x00000009
HKR,,			"ForceClearTpStsEnable",	0x00010001,0x00000001
HKR,,			"TapReenableDist",		0x00010001,0x00A000A0
HKR,,			"MiscompensationCheck_Enable",	0x00010001,0x00000020
HKR,%SetAGPlus%,	"PinnacleMissCompensationThresh",	0x00010001,0x00000003
HKR,%SetAGPlus%,	"PinnacleAG_Z_thresh_cnst",	0x00010001,0x009D0028
HKR,%SetAGPlus%,	"PinnacleAG_Z_thresh_coef",	0x00010001,0x009D0007
HKR,%SetAGPlus%,	"CursorSpeedScale_GP",		0x00010001,0x000000C3


[DriverInfoAddReg]
; This section is added to all INFs to add registry entries for Driver Info.
HKLM,Software\InstalledOptions\%DriverOEM%\%DriverFamily%\%DriverMfgr%\%DriverProduct%,	Description,,		%DriverDescription%
HKLM,Software\InstalledOptions\%DriverOEM%\%DriverFamily%\%DriverMfgr%\%DriverProduct%,	CurrentVer,,		%DriverOEMVersion%
HKLM,Software\InstalledOptions\%DriverOEM%\%DriverFamily%\%DriverMfgr%\%DriverProduct%,	Ver_%DriverOEMVersion%,,%DriverVersionID%
HKLM,Software\InstalledOptions\%DriverOEM%\%DriverFamily%\%DriverMfgr%\%DriverProduct%,	BaseDriverFileName,,	""
HKLM,Software\InstalledOptions\%DriverOEM%\%DriverFamily%\%DriverMfgr%\%DriverProduct%,	BaseDriverFileVersion,,	""

[MouFilter_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"
HKLM,"System\CurrentControlSet\Control\SafeBoot\Minimal\Wdf01000.sys",,,"Driver"
HKLM,"System\CurrentControlSet\Control\SafeBoot\Network\Wdf01000.sys",,,"Driver"

;-------------- Service information installation

[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

[MouFilter_Inst_wdfsect]
KmdfLibraryVersion = 1.9

; Source file information
; ---------------------------------------------------
[SourceDisksNames]
1 = %DiskID%,,,

[SourceDisksFiles]
Apfiltr.sys	= 1,,
Vxdif.dll	= 1,,
Apoint.exe	= 1,,
ApntEx.exe	= 1,,
Apoint.dll	= 1,,
EzAuto.dll	= 1,,
Elprop.dll	= 1,,
Uninstap.exe	= 1,,
ApInst.dll	= 1,,
hidfind.exe	= 1,,
ApMsgFwd.exe	= 1,,
ApMouCpl.dll	= 1,,
DellTPad.exe	= 1,,

CirScrL.cur	= 1,%Cursor_DataPath%
CirScrR.cur	= 1,%Cursor_DataPath%
CirScrU.cur	= 1,%Cursor_DataPath%
CirScrD.cur	= 1,%Cursor_DataPath%
PadScrH.cur	= 1,%Cursor_DataPath%
PadScrV.cur	= 1,%Cursor_DataPath%
StkScr.cur	= 1,%Cursor_DataPath%
Zoom.cur	= 1,%Cursor_DataPath%
PadScr.cur	= 1,%Cursor_DataPath%
Rotation.cur	= 1,%Cursor_DataPath%

WdfCoinstaller01009.dll	= 1,,

; ------------- Localizable strings ------------------------
[Strings]
Provider		= "Alps"
Filter.SvcDesc		= "Alps Touch Pad Filter Driver for Windows x86"
Mfg.Desc		= "Alps Electric"
Apoint.DeviceDesc 	= "Dell Touchpad"

; Alps internals
Apoint_Path		= "DellTPad"
Path_Data_Cur		= "DellTPad\Data\Cur"
Cursor_DataPath	= "Data\\Cur"
Apoint_Wav		= "Media"
DiskID			= "Alps Touch Pad Filter Driver for Windows x86 Setup Disk"

; Registry Strings
SetApoint		= "Software\Alps\Apoint"
SetSelectDev		= "Software\Alps\Apoint\SelectDevice"
SetExceptions		= "Software\Alps\Apoint\Exceptions"
SetParamsDef		= "Software\Alps\Apoint\Params\Default"
SetButton		= "Software\Alps\Apoint\Button"
SetOrientation		= "Software\Alps\Apoint\Orientation"
SetTapping		= "Software\Alps\Apoint\Tapping"
SetGesture		= "Software\Alps\Apoint\Gesture"
SetStick		= "Software\Alps\Apoint\Stick"
SetOther		= "Software\Alps\Apoint\Other"
SetIM			= "Software\Alps\Apoint\InertialMovement"
SetUSBMouse		= "Software\Alps\Apoint\USBMouse"
SetUSBMouseExcept	= "Software\Alps\Apoint\USBMouse\Exceptions"
SetMobilityCenter	= "Software\Microsoft\MobilePC\MobilityCenter\Tiles\DellTPad"
SetAGPlus		= "APF\AGP"
RUN			= "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
UNINST			= "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9F72EF8B-AEC9-4CA5-B483-143980AFD6FD}"
SHELLPROP		= "Software\Microsoft\Windows\CurrentVersion\Controls Folder\Mouse\shellex\PropertySheetHandlers"
APOINT_GUID		= "{7F5B8FA4-BEEC-11cf-9BD7-B76592786C03}"
APMOUCPL_GUID	= "{D0B6E6C2-3485-42E8-A26E-3E3735B240B6}"

ProductVersion		= "Version 7.1007.101.209"

;/* Dell Driver Information History */
DriverMfgr		= "Alps Electric"
DriverVersionID		= "7.1007.101.209"

DriverOEM		= "Alps Electric"		; name of the OEM
DriverFamily		= "Mouse"			; device family (NIC, Storage, Video...)
DriverProduct		= "Touch Pad"			; Specific Name of device (chipset, for example)
DriverDescription	= "Alps Pointing-device Driver"	; Description of device (product name, OS or system supported)
DriverOEMVersion	= "7.1007.101.209"		; OEM-specified version
