;---------------------------------------------------------------------
; Apfiltr.inf
;
; Alps Pointing-device Driver for Windows Vista/Win7 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/28/2010, 7.105.1414.308
DriverPackageDisplayName	= "Alps Pointing-device"


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

; Manufacturer Sections
; ---------------------------------------------------------
[Manufacturer]
%Mfg.Desc%		= CompanyMfg,NTamd64,NTamd64.6
 
[CompanyMfg.NTamd64.6] ; for Vista64
%*fic1400.DevDesc%	= MouFilter_Inst1400, *AUI1400,ACPI\AUI1400	;Alps Pointing-device
%*fic1401.DevDesc%	= MouFilter_Inst1401, *AUI1401,ACPI\AUI1401	;Alps Pointing-device
%*fic1402.DevDesc%	= MouFilter_Inst1402, *AUI1402,ACPI\AUI1402	;Alps Pointing-device
%*fic1403.DevDesc%	= MouFilter_Inst1403, *AUI1403,ACPI\AUI1403	;Alps Pointing-device
%*fic1404.DevDesc%	= MouFilter_Inst1404, *AUI1404,ACPI\AUI1404	;Alps Pointing-device
%*fic1405.DevDesc%	= MouFilter_Inst1405, *AUI1405,ACPI\AUI1405	;Alps Pointing-device
%*fic1406.DevDesc%	= MouFilter_Inst1406, *AUI1406,ACPI\AUI1406	;Alps Pointing-device
%*fic1407.DevDesc%	= MouFilter_Inst1407, *AUI1407,ACPI\AUI1407	;Alps Pointing-device
%*fic1408.DevDesc%	= MouFilter_Inst1408, *AUI1408,ACPI\AUI1408	;Alps Pointing-device
%Apoint.DeviceDesc%	= MouFilter_Inst,*PNP0F13,*PNP0F03,*PNP0F0E,*PNP0F0b,*PNP0F12

[CompanyMfg.NTamd64]	; for XP64 
[CompanyMfg]		; for 2000 or XP 32-bit 
; Not supporting Windows 2000,XP,64-bit OS

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

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

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

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

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

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

;	--------------------------------------------
;	-------- AUI1400 Setting (for Vista)--------
;	--------------------------------------------
[MouFilter_Inst1400.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst_Vista.AddReg

[MouFilter_Inst1400.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

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

[MouFilter_Inst1400.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst1400.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller


;	--------------------------------------------
;	-------- AUI1401 Setting (for Vista)--------
;	--------------------------------------------
[MouFilter_Inst1401.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst_Vista.AddReg

[MouFilter_Inst1401.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

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

[MouFilter_Inst1401.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst1401.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

;	--------------------------------------------
;	-------- AUI1402 Setting (for Vista)--------
;	--------------------------------------------
[MouFilter_Inst1402.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst_Vista.AddReg

[MouFilter_Inst1402.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

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

[MouFilter_Inst1402.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst1402.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

;	--------------------------------------------
;	-------- AUI1403 Setting (for Vista)--------
;	--------------------------------------------
[MouFilter_Inst1403.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst_Vista.AddReg

[MouFilter_Inst1403.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

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

[MouFilter_Inst1403.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst1403.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

;	--------------------------------------------
;	-------- AUI1404 Setting (for Vista)--------
;	--------------------------------------------
[MouFilter_Inst1404.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst1404.AddReg, MouFilter_Inst_Vista.AddReg

[MouFilter_Inst1404.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

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

[MouFilter_Inst1404.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst1404.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

;	--------------------------------------------
;	-------- AUI1405 Setting (for Vista)--------
;	--------------------------------------------
[MouFilter_Inst1405.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst1405.AddReg, MouFilter_Inst_Vista.AddReg

[MouFilter_Inst1405.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

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

[MouFilter_Inst1405.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst1405.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

;	--------------------------------------------
;	-------- AUI1406 Setting (for Vista)--------
;	--------------------------------------------
[MouFilter_Inst1406.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst1406.AddReg, MouFilter_Inst_Vista.AddReg

[MouFilter_Inst1406.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

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

[MouFilter_Inst1406.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst1406.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

;	--------------------------------------------
;	-------- AUI1407 Setting (for Vista)--------
;	--------------------------------------------
[MouFilter_Inst1407.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst1407.AddReg, MouFilter_Inst_Vista.AddReg

[MouFilter_Inst1407.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

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

[MouFilter_Inst1407.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst1407.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

;	--------------------------------------------
;	-------- AUI1408 Setting (for Vista)--------
;	--------------------------------------------
[MouFilter_Inst1408.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome
AddReg		= MouFilter_Inst.AddReg, MouFilter_Inst1408.AddReg, MouFilter_Inst_Vista.AddReg

[MouFilter_Inst1408.NT.Services]
AddService	= ApfiltrService,, filter_Service_Inst
Include		= msmouse.inf
Needs		= PS2_Inst.Services

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

[MouFilter_Inst1408.NT.Wdf]
KmdfService	= ApfiltrService, MouFilter_Inst_wdfsect

[MouFilter_Inst1408.NT.CoInstallers]
AddReg		= MouFilter_CoInstaller_AddReg
CopyFiles	= MouFilter_CopyFiles_CoInstaller

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

[MouFilter_CopyFilesDll]
Vxdif.dll

[MouFilter_CopyFilesHome]
Apoint.exe
Ezcapt.exe
Logo.bmp
Gesture.bmp
ApntEx.exe
Apoint.dll
EzLaunch.dll
Elprop.dll
EzAuto.dll
ApResJP.dll
ApResUS.dll
ApResFR.dll
ApResGR.dll
ApResIT.dll
ApResSP.dll
ApResCT.dll
ApResCS.dll
ApResKR.dll
ApResBP.dll
ApResSE.dll
ApResNO.dll
ApResDK.dll
ApResNL.dll
ApResCZ.dll
ApResPL.dll
ApResPO.dll
ApResFI.dll
ApResTR.dll
ApResRU.dll
ApResHU.dll
ApResGK.dll
ApResSK.dll
ApInst.dll
ApRotion.dll
Uninstap.exe
ApMsgFwd.exe
nogesture.bmp
ApTenkey.exe

ApointSP.chm
ApointJP.chm
ApointGR.chm
ApointFR.chm
ApointUS.chm
ApointCT.chm
ApointCS.chm
ApointIT.chm
ApointKR.chm
ApointBP.chm
ApointSE.chm
ApointNO.chm
ApointDK.chm
ApointNL.chm
ApointCZ.chm
ApointPL.chm
ApointPO.chm
ApointFI.chm
ApointTR.chm
ApointRU.chm
ApointHU.chm
ApointGK.chm
ApointSK.chm

[MouFilter_CopyFiles_CoInstaller]
WdfCoInstaller01009.dll

;--------------- AddRegistry Section

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


[MouFilter_Inst1404.AddReg]   ; #### for AUI1404 Settings ####
HKR,,"PadVolumeControl_Enable",				0x00010001, 0x00000001
HKLM,%SetApoint%,	"PadScroll_Enable",		0x00010001, 0x00000000

[MouFilter_Inst1405.AddReg]   ; #### for AUI1405 Settings ####
HKR,,"Screen_Rotate_Enable",				0x00010001, 0x00000001
HKLM,%SetApoint%,	"AutoRotationFunction",		0x00010001,	0x00000001	; Auto Rotation Fuunction switch On
HKLM,%SetApoint%,	"VideoVendorID",		0x00010001, 	0x00000001	; Video Vendor ID (OS Standard)

[MouFilter_Inst1406.AddReg]   ; #### for AUI1406 Settings ####
HKLM,%SetApoint%,	"EnableMediaPad",		0x00010001,0x00000001

[MouFilter_Inst1407.AddReg]   ; #### for AUI1407 Settings ####
;HKLM,%SetApoint%,	"SupportFunctionTab",		0x00010001, 0x000001BB
;HKLM,%SetGesture%,	"EnablePan", 			0x00010001, 0x00000000
;HKLM,%SetGesture%,	"EnablePinch", 			0x00010001, 0x00000000
;HKLM,%SetGesture%,	"EnableTwist", 			0x00010001, 0x00000000
;HKLM,%SetGesture%,	"PanSupport",			0x00010001, 0x00000000
;HKLM,%SetGesture%,	"PinchSupport",			0x00010001, 0x00000000
;HKLM,%SetGesture%,	"TwistSupport",			0x00010001, 0x00000000
;HKLM,%SetGesture%,	"PanFunc",			0x00010001, 0x00000000
;HKLM,%SetGesture%,	"PinchFunc",			0x00010001, 0x00000000
;HKLM,%SetGesture%,	"TwistFunc",			0x00010001, 0x00000000

[MouFilter_Inst1408.AddReg]   ; #### for AUI1408 Settings ####
[MouFilter_Inst.AddReg] 
HKCR,CLSID\%APOINT_GUID%\InProcServer32,,		0x00020000, %%ProgramFiles%%\%Apoint_Path%\Apoint.dll
HKCR,CLSID\%APOINT_GUID%\InProcServer32,ThreadingModel,0,Apartment
HKLM,%SHELLPROP%\Alps 1Apoint Page,,0,%APOINT_GUID%

HKLM,%UNINST%,		"UninstallString",			0x00020000, %%ProgramFiles%%\%Apoint_Path%\Uninstap.exe ADDREMOVE
HKLM,%UNINST%,		"DisplayName",				0x00000000, "ALPS Touch Pad Driver"
HKLM,%UNINST%,		"DisplayIcon",				0x00020000, %%ProgramFiles%%\%Apoint_Path%\Apoint.exe
HKLM,%UNINST%,		"InstallLocation",			0x00020000, %%ProgramFiles%%\%Apoint_Path%

; Auto Run Apoint.exe
HKLM,%RUN%,			"Apoint",					0x00020000,	%%ProgramFiles%%\%Apoint_Path%\Apoint.exe

; Set HKLM\Software\Alps\Apoint
HKLM,%SetApoint%,	"HomeDirectory",			0x00020000,	%%ProgramFiles%%\%Apoint_Path%
HKLM,%SetApoint%,	"ProductVer",				0x00020000,	%ProductVersion%
HKLM,%SetApoint%,	"EnableMultiUser",			0x00010001,	0x00000002
HKLM,%SetApoint%,	"SupportLanguage",			0x00010001,	0x0ffdffff
HKLM,%SetApoint%,	"SupportFunctionTab",		0x00010001,	0x000005BB	;When ALPS-Motion tab display sets 0x1BF
HKLM,%SetApoint%,	"Install_Flag",				0x00010001,	0x00000001
;HKLM,%SetApoint%,	"TouchSensitivity",			0x00010001,	0x00000009
;HKLM,%SetApoint%,	"EnableTouchSensitivity",	0x00010001,	0x00000001
;HKLM,%SetApoint%,	"EnableAreaSwitch",			0x00010001,	0x00000001
HKLM,%SetApoint%,	"Support_USB_Button_Swap",	0x00010001,	0x00000001
HKLM,%SetApoint%,	"SeparateResourceFlag",		0x00010001,	0x00000001
HKLM,%SetApoint%,	"ID_Emulate_Switch",		0x00010001,	0x00000001
HKLM,%SetApoint%,	"Target_ID",				0x00010001,	0x00140273
HKLM,%SetApoint%,	"EmulateDeviceType",		0x00010001,	0xA00114AD
HKLM,%SetApoint%,	"TouchPadDisableFunc",		0x00010001,	0x00000001
HKLM,%SetApoint%,	"TouchPadOnOffContext",		0x00010001,	0x00000000	; PopUpMenu Hide
HKLM,%SetApoint%,	"OEM_ID",			0x00010001,	0x0000000e
HKLM,%SetApoint%,	"ApMsgFwd_Flags", 		0x00010001, 0x000000FF
HKLM,%SetApoint%,	"DisableLEDOut", 		0x00010001, 0x00000001
HKLM,%SetApoint%,	"SupportMultiGesture",		0x00010001,0x00000000
HKLM,%SetApoint%,	"ShowMultiGestureUI",		0x00010001,0x00000000
HKLM,%SetApoint%,	"CursorChangeType",		0x00010001,0x00001212
HKLM,%SetApoint%,	"AutoRotationFunction",		0x00010001,	0x00000000	; Auto Rotation Fuunction switch On
HKLM,%SetApoint%,	"VideoVendorID",		0x00010001, 	0x00000000	; Video Vendor ID (OS Standard)

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

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

; 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,0x00000000
HKLM,%SetTapping%,	"AutoRelease",			0x00010001,0x00000001
HKLM,%SetTapping%,	"TypingInhibit",		0x00010001,0x00000001	;Tap
HKLM,%SetTapping%,	"TypingDetect",			0x00010001,0x00000002

; Set HKLM\Software\Alps\Apoint\Gesture
HKLM,%SetGesture%,	"EasyX",				0x00010001,0x00000000
HKLM,%SetGesture%,	"EnableFB",				0x00010001,0x00000000
HKLM,%SetGesture%,	"EnableWheel",			0x00010001,0x00000002
HKLM,%SetGesture%,	"LockAreaSet",			0x00010001,0x00000001
HKLM,%SetGesture%,	"CornerTapOffsetX",		0x00010001,0x00000096
HKLM,%SetGesture%,	"CornerTapOffsetY",		0x00010001,0x00000096
HKLM,%SetGesture%, 	"GPScrollCancelEnable", 	0x00010001, 0x00000001
HKLM,%SetGesture%, 	"GPScrollCancelFlag", 		0x00010001, 0x00000003
HKLM,%SetGesture%,	"PadScrollLines",		0,3
HKLM,%SetGesture%,	"EnablePan", 			0x00010001, 0x00000001
HKLM,%SetGesture%,	"EnablePinch", 			0x00010001, 0x00000001
HKLM,%SetGesture%,	"EnableTwist", 			0x00010001, 0x00000001
HKLM,%SetGesture%,	"PanSupport",		0x00010001, 0x00000001
HKLM,%SetGesture%,	"PinchSupport",		0x00010001, 0x00000001
HKLM,%SetGesture%,	"TwistSupport",		0x00010001, 0x00000001
HKLM,%SetGesture%,	"PanFunc",			0x00010001, 0x00000001
HKLM,%SetGesture%,	"PinchFunc",		0x00010001, 0x00000002
HKLM,%SetGesture%,	"TwistFunc",		0x00010001, 0x00000003
HKLM,%SetGesture%,	"PanShow",			0x00010001, 0x00000001
HKLM,%SetGesture%,	"PinchShow",		0x00010001, 0x00000001
HKLM,%SetGesture%,	"TwistShow",		0x00010001, 0x00000001

; Set HKLM\Software\Alps\Stick
HKLM,%SetStick%,	"SPTapping",			0x00010001,0x00000001
HKLM,%SetStick%,	"SPTapSettings",		0x00010001,0x00000001
HKLM,%SetStick%,	"SPTapTyping",			0x00010001,0x00000000
HKLM,%SetStick%,	"SPTapTypingDelay",		0x00010001,0x00000002
HKLM,%SetStick%,	"SPFunction",			0x00010001,0x0054A500
HKLM,%SetStick%,	"SPScroll",				0x00010001,0x00000002
HKLM,%SetStick%,	"SPScrollLines",		0,3
HKLM,%SetStick%,	"SpTypingSound",		0x00000000,""

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

; 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%,	"PP11FrameClass",			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,	""
HKLM,%SetExceptions%,	"WinCalWnd",				0x00020000,""

; 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,0x00000026
HKR,,"VertSensitivity",			0x00010001,0x00000026
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,0x00000001
HKR,,"TapTypingDelay",			0x00010001,0x00000000
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,,"ScrollCancelThreshold_X",	0x00010001,0x00000005
HKR,,"ScrollCancelThreshold_Y",	0x00010001,0x00000005
HKR,,"PM_Resume",				0x00010001,0x00000000
HKR,,"UseIMECap",				0x00010001,0x00000000
HKR,,"DragLock_TR_Emulation",	0x00010001,0x00000001
HKR,,"ScrollLock_Enable",		0x00010001,0x00000001
HKR,,"ScrollLock_Period",		0x00010001,0x00000064
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,0x00000003		; W=OFF, P=OFF
HKR,,"SP_ReviseBallisticCurve_Enable",	0x00010001,0x00000001
HKR,,"SP_ReviseBallisticCurve_Pram_1",	0x00010001,0x070000C7
HKR,,"SP_ReviseBallisticCurve_Pram_2",	0x00010001,0x13000019
HKR,,"SP_ReviseBallisticCurve_Pram_3",	0x00010001,0xFF000019
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,0x00000000	; Synchronize=ON, Simultaneous=1, EventName="\Device\8042PRTCTRL"
;HKR,,"OfficeScrollSrc",				0x00010001,0x00000001
HKR,,"PegasusMonitorModeFlags",			0x00010001,0x00000001
HKR,,"Mercury_TrackFlags3",				0x00010001,0x00000400
HKR,,"Publisher",				0x00000000,"Alps"
HKR,,"RawModeFilterLevel",  				0x00010001, 0xFFF56514
HKR,,"PinnacleAG_enable_filter",  			0x00010001, 0x00000000
HKR,,"PadVolumeControl_Enable",				0x00010001, 0x00000000
HKR,,"Screen_Rotate_Enable",				0x00010001, 0x00000000
HKR,,"MisCompensationCheck_Enable",			0x00010001, 0x00000039
HKR,,"MT_RecogStopDist",				0x00010001, 0x01800180
HKR,,"ReInitForInvalidDataErr",			0x00010001,0x00000001
HKR,,"PinnacleAG_reset_for_invalid_at_comp",		0x00010001, 0x00000000
HKR,,"GP_Raw_Usability",		0x00000001,0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00
HKR,,"Enable_NoiseCheck",		0x00010001, 0x00000001

HKLM,%SetParamsDef%,"TapTyping",			0x00010001,	1	
HKLM,%SetParamsDef%,"TapTypingDelay",		0x00010001,	0	
HKLM,%SetParamsDef%,EnableWheel,			0x00010001,0x00000002
HKLM,%SetParamsDef%,"EnableFB",				0x00010001,0x00000000
HKLM,%SetParamsDef%,"EnablePan", 		        0x00010001, 0x00000001
HKLM,%SetParamsDef%,"EnablePinch",		        0x00010001, 0x00000001
HKLM,%SetParamsDef%,"EnableTwist",		        0x00010001, 0x00000001

HKLM,%SetLang%\%LangJP%,"LoadResourceFileName",	0,"ApResJP.dll"
HKLM,%SetLang%\%LangUS%,"LoadResourceFileName",	0,"ApResUS.dll"
HKLM,%SetLang%\%LangFR%,"LoadResourceFileName",	0,"ApResFR.dll"
HKLM,%SetLang%\%LangGR%,"LoadResourceFileName",	0,"ApResGR.dll"
HKLM,%SetLang%\%LangIT%,"LoadResourceFileName",	0,"ApResIT.dll"
HKLM,%SetLang%\%LangSP%,"LoadResourceFileName",	0,"ApResSP.dll"
HKLM,%SetLang%\%LangCT%,"LoadResourceFileName",	0,"ApResCT.dll"
HKLM,%SetLang%\%LangCS%,"LoadResourceFileName",	0,"ApResCS.dll"
HKLM,%SetLang%\%LangKR%,"LoadResourceFileName",	0,"ApResKR.dll"
HKLM,%SetLang%\%LangBP%,"LoadResourceFileName",	0,"ApResBP.dll"
HKLM,%SetLang%\%LangCZ%,"LoadResourceFileName",	0,"ApResCZ.dll"
HKLM,%SetLang%\%LangDK%,"LoadResourceFileName",	0,"ApResDK.dll"
HKLM,%SetLang%\%LangNL%,"LoadResourceFileName",	0,"ApResNL.dll"
HKLM,%SetLang%\%LangFI%,"LoadResourceFileName",	0,"ApResFI.dll"
HKLM,%SetLang%\%LangGK%,"LoadResourceFileName",	0,"ApResGK.dll"
HKLM,%SetLang%\%LangHU%,"LoadResourceFileName",	0,"ApResHU.dll"
HKLM,%SetLang%\%LangNO%,"LoadResourceFileName",	0,"ApResNO.dll"
HKLM,%SetLang%\%LangPL%,"LoadResourceFileName",	0,"ApResPL.dll"
HKLM,%SetLang%\%LangPO%,"LoadResourceFileName",	0,"ApResPO.dll"
HKLM,%SetLang%\%LangRU%,"LoadResourceFileName",	0,"ApResRU.dll"
HKLM,%SetLang%\%LangSE%,"LoadResourceFileName",	0,"ApResSE.dll"
HKLM,%SetLang%\%LangTR%,"LoadResourceFileName",	0,"ApResTR.dll"
HKLM,%SetLang%\%LangSK%,"LoadResourceFileName",	0,"ApResSK.dll"

[MouFilter_Inst_Vista.AddReg]
HKLM,%SetLang%\%LangJP%,"LoadPopupHelpFileName",	0,"ApointJP.chm"
HKLM,%SetLang%\%LangUS%,"LoadPopupHelpFileName",	0,"ApointUS.chm"
HKLM,%SetLang%\%LangFR%,"LoadPopupHelpFileName",	0,"ApointFR.chm"
HKLM,%SetLang%\%LangGR%,"LoadPopupHelpFileName",	0,"ApointGR.chm"
HKLM,%SetLang%\%LangIT%,"LoadPopupHelpFileName",	0,"ApointIT.chm"
HKLM,%SetLang%\%LangSP%,"LoadPopupHelpFileName",	0,"ApointSP.chm"
HKLM,%SetLang%\%LangCT%,"LoadPopupHelpFileName",	0,"ApointCT.chm"
HKLM,%SetLang%\%LangCS%,"LoadPopupHelpFileName",	0,"ApointCS.chm"
HKLM,%SetLang%\%LangKR%,"LoadPopupHelpFileName",	0,"ApointKR.chm"
HKLM,%SetLang%\%LangBP%,"LoadPopupHelpFileName",	0,"ApointBP.chm"
HKLM,%SetLang%\%LangCZ%,"LoadPopupHelpFileName",	0,"ApointCZ.chm"
HKLM,%SetLang%\%LangDK%,"LoadPopupHelpFileName",	0,"ApointDK.chm"
HKLM,%SetLang%\%LangNL%,"LoadPopupHelpFileName",	0,"ApointNL.chm"
HKLM,%SetLang%\%LangFI%,"LoadPopupHelpFileName",	0,"ApointFI.chm"
HKLM,%SetLang%\%LangGK%,"LoadPopupHelpFileName",	0,"ApointGK.chm"
HKLM,%SetLang%\%LangHU%,"LoadPopupHelpFileName",	0,"ApointHU.chm"
HKLM,%SetLang%\%LangNO%,"LoadPopupHelpFileName",	0,"ApointNO.chm"
HKLM,%SetLang%\%LangPL%,"LoadPopupHelpFileName",	0,"ApointPL.chm"
HKLM,%SetLang%\%LangPO%,"LoadPopupHelpFileName",	0,"ApointPO.chm"
HKLM,%SetLang%\%LangRU%,"LoadPopupHelpFileName",	0,"ApointRU.chm"
HKLM,%SetLang%\%LangSE%,"LoadPopupHelpFileName",	0,"ApointSE.chm"
HKLM,%SetLang%\%LangTR%,"LoadPopupHelpFileName",	0,"ApointTR.chm"
HKLM,%SetLang%\%LangSK%,"LoadPopupHelpFileName",	0,"ApointSK.chm"

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

;-------------- 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	; filter.sys	; *

[MouFilter_Inst_wdfsect]
KmdfLibraryVersion = 1.7


[SourceDisksNames]
1 = %DiskID%,,,

[SourceDisksFiles]
Apfiltr.sys 	= 1,,
Vxdif.dll		= 1,,
Apoint.exe		= 1,,
Logo.bmp		= 1,,
ApntEx.exe		= 1,,
Apoint.dll		= 1,,
ApRotion.dll		= 1,,
EzAuto.dll		= 1,,
Ezcapt.exe		= 1,,
Gesture.bmp		= 1,,
EzLaunch.dll	= 1,,
Elprop.dll		= 1,,
ApResJP.dll		= 1,,
ApResUS.dll		= 1,,
ApResFR.dll		= 1,,
ApResGR.dll		= 1,,
ApResIT.dll		= 1,,
ApResSP.dll		= 1,,
ApResCT.dll		= 1,,
ApResCS.dll		= 1,,
ApResKR.dll		= 1,,
ApResBP.dll		= 1,,
ApResSE.dll		= 1,,
ApResNO.dll		= 1,,
ApResDK.dll		= 1,,
ApResNL.dll		= 1,,
ApResCZ.dll		= 1,,
ApResPL.dll		= 1,,
ApResPO.dll		= 1,,
ApResFI.dll		= 1,,
ApResTR.dll		= 1,,
ApResRU.dll		= 1,,
ApResHU.dll		= 1,,
ApResGK.dll		= 1,,
ApResSK.dll		= 1,,
ApointSP.chm	= 1,,
ApointJP.chm	= 1,,
ApointGR.chm	= 1,,
ApointFR.chm	= 1,,
ApointUS.chm	= 1,,
ApointCT.chm	= 1,,
ApointCS.chm	= 1,,
ApointIT.chm	= 1,,
ApointKR.chm	= 1,,
ApointBP.chm	= 1,,
ApointSE.chm	= 1,,
ApointNO.chm	= 1,,
ApointDK.chm	= 1,,
ApointNL.chm	= 1,,
ApointCZ.chm	= 1,,
ApointPL.chm	= 1,,
ApointPO.chm	= 1,,
ApointFI.chm	= 1,,
ApointTR.chm	= 1,,
ApointRU.chm	= 1,,
ApointHU.chm	= 1,,
ApointGK.chm	= 1,,
ApointSK.chm	= 1,,
ApInst.dll		= 1,,
Uninstap.exe	= 1,,
ApMsgFwd.exe	= 1,,
WdfCoinstaller01009.dll	= 1,,
nogesture.bmp   = 1,,
ApTenkey.exe    = 1,,

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

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

*fic1400.DevDesc	= "Alps Pointing-device"
*fic1401.DevDesc	= "Alps Pointing-device"
*fic1402.DevDesc	= "Alps Pointing-device"
*fic1403.DevDesc	= "Alps Pointing-device"
*fic1404.DevDesc	= "Alps Pointing-device"
*fic1405.DevDesc	= "Alps Pointing-device"
*fic1406.DevDesc	= "Alps Pointing-device"
*fic1407.DevDesc	= "Alps Pointing-device"
*fic1408.DevDesc	= "Alps Pointing-device"

; Alps internals
Apoint_Path			= "Apoint2K"
DiskID				= "Alps Pointing-device Driver for Windows Vista/Win7 Setup Disk"

; 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"
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"
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"
SetLang				= "Software\Alps\Apoint\Language"
;SetInertialMovemnet	= "Software\Alps\Apoint\InertialMovement"
SetStdMouse				= "Control Panel\Mouse"
SetWheelScrollLines		= "Control Panel\Desktop"
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}"

LangJP				= "Japanese"
LangUS				= "English"
LangFR				= "French"
LangGR				= "German"
LangIT				= "Italian"
LangSP				= "Spanish"
LangCT				= "CTraditional"
LangCS				= "CSimplified"
LangKR				= "Korean"
LangBP				= "BPortguase"
LangCZ				= "Czech"
LangDK				= "Danish"
LangFI				= "Finnish"
LangGK				= "Greek"
LangHU				= "Hungarian"
LangNL				= "Dutch"
LangNO				= "Norwegian"
LangPL				= "Polish"
LangPO				= "PPortguase"
LangRU				= "Russian"
LangSE				= "Swedish"
LangTR				= "Turkish"
LangSK				= "Slovak"

ProductVersion			= "Version 7.105.1414.308"

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