;---------------------------------------------------------------------
; Apfiltr.inf
;
; Alps Pointing-device Driver for Windows 2000/XP/Vista/7 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	= 10/16/2009, 7.5.404.117
DriverPackageDisplayName	= "Touch Pad Driver"

[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,,
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,,
ApointSP.pop	= 1,,
ApointJP.pop	= 1,,
ApointGR.pop	= 1,,
ApointFR.pop	= 1,,
ApointUS.pop	= 1,,
ApointCT.pop	= 1,,
ApointCS.pop	= 1,,
ApointIT.pop	= 1,,
ApointKR.pop	= 1,,
ApInst.dll		= 1,,
Uninstap.exe	= 1,,
Hidfind.exe		= 1,,
ApMsgFwd.exe	= 1,,
WdfCoinstaller01005.dll	= 1,,
ApResSP.dll	= 1,,
ApResJP.dll	= 1,,
ApResUS.dll	= 1,,
ApResGR.dll	= 1,,
ApResFR.dll	= 1,,
ApResCT.dll	= 1,,
ApResCS.dll	= 1,,
ApResIT.dll	= 1,,
ApResKR.dll	= 1,,

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

; Manufacturer Sections
; ---------------------------------------------------------
[Manufacturer]
%Mfg.Desc%		= CompanyMfg,NT.6.1.0x01,NT.6,NTamd64
 
[CompanyMfg.NT.6.1.0x01]    ; for Win7 32-bit
%Apoint.DeviceDesc%	= MouFilter_InstWin7.NT,*PNP0F13,*PNP0F03,*PNP0F0E,*PNP0F0b,*PNP0F12

[CompanyMfg.NT.6]    ; for Vista 32-bit
%Apoint.DeviceDesc%	= MouFilter_InstVista.NT,*PNP0F13,*PNP0F03,*PNP0F0E,*PNP0F0b,*PNP0F12

[CompanyMfg]		; for 2000, XP
%Apoint.DeviceDesc%	= MouFilter_Inst2KXP.NT,*PNP0F13,*PNP0F03,*PNP0F0E,*PNP0F0b,*PNP0F12

[CompanyMfg.NTamd64]	; for 64Bit OS (not supporting)
; Not supporting Windows 2000,XP,64-bit OS

; Install Sections for PS/2 mouse (for Win7)
; ---------------------------------------------------------

[MouFilter_InstWin7.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
; our own sections
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome_VistaHelp
AddReg		= MouFilter_Inst.AddReg,MouFilter_Inst_Vista.AddReg, MouFilter_Inst_Win7.AddReg

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

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

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

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

; Install Sections for PS/2 mouse (for Vista)
; ---------------------------------------------------------

[MouFilter_InstVista.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
; our own sections
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome_VistaHelp
AddReg		= MouFilter_Inst.AddReg,MouFilter_Inst_Vista.AddReg

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

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

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

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

; Install Sections for PS/2 mouse (for 2K/XP)
; ---------------------------------------------------------
[MouFilter_Inst2KXP.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome,MouFilter_CopyFilesHome_2KXPHelp
AddReg		= MouFilter_Inst.AddReg,MouFilter_Inst_2KXP.AddReg

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

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

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

[MouFilter_Inst2KXP.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
ApRotion.dll
EzLaunch.dll
Elprop.dll
EzAuto.dll
Hidfind.exe
ApInst.dll
Uninstap.exe
ApMsgFwd.exe
ApResSP.dll
ApResJP.dll
ApResUS.dll
ApResGR.dll
ApResFR.dll
ApResCT.dll
ApResCS.dll
ApResIT.dll
ApResKR.dll

[MouFilter_CopyFilesHome_VistaHelp]
ApointSP.chm
ApointJP.chm
ApointGR.chm
ApointFR.chm
ApointUS.chm
ApointCT.chm
ApointCS.chm
ApointIT.chm
ApointKR.chm

[MouFilter_CopyFilesHome_2KXPHelp]
ApointSP.pop
ApointJP.pop
ApointGR.pop
ApointFR.pop
ApointUS.pop
ApointCT.pop
ApointCS.pop
ApointIT.pop
ApointKR.pop

[MouFilter_CopyFiles_CoInstaller]
WdfCoinstaller01005.dll

; ------------------ AddReg Sections 

[MouFilter_Inst.HW.AddReg]
HKR,,					"UpperFilters",			%REG_MULTI_SZ%, 	"ApfiltrService"

[MouFilter_Inst.AddReg]
HKCR,CLSID\%APOINT_GUID%\InProcServer32,,				%REG_SZ%,	%16422%\%Apoint_Path%\Apoint.dll
HKCR,CLSID\%APOINT_GUID%\InProcServer32,ThreadingModel,	%REG_SZ%,	Apartment
HKLM,%SHELLPROP%\Alps 1Apoint Page,,					%REG_SZ%,	%APOINT_GUID%

HKLM,%UNINST%,			"UninstallString",				%REG_SZ%,	%16422%\%Apoint_Path%\Uninstap.exe ADDREMOVE
HKLM,%UNINST%,			"DisplayName",					%REG_SZ%,	"ALPS Touch Pad Driver"
HKLM,%UNINST%,		"DisplayIcon",			0x00000000, %16422%\%Apoint_Path%\Apoint.exe
HKLM,%UNINST%,			"Publisher",					0x00000000, "ALPS ELECTRIC CO., LTD."
HKLM,%UNINST%,			"InstallLocation",				0x00000000, %16422%\%Apoint_Path%
HKLM,%UNINST%,			"VersionMajor",				0x00010001,	0x00000007
HKLM,%UNINST%,			"VersionMinor",				0x00010001,	0x00000005

; Auto Run Apoint.exe
HKLM,%RUN%,				"Apoint",						%REG_SZ%, 	%16422%\%Apoint_Path%\Apoint.exe

; Set HKLM\Software\Alps\Apoint
HKLM,%SetApoint%,		"HomeDirectory",				%REG_EX_SZ%, %16422%\%Apoint_Path%
HKLM,%SetApoint%,		"ProductVer",					%REG_EX_SZ%, %ProductVersion%
HKLM,%SetApoint%,		"EnableMultiUser",				%REG_DWORD%, 0x00000002
HKLM,%SetApoint%,		"SupportLanguage",				%REG_DWORD%, 0x000001ff
HKLM,%SetApoint%,		"SupportFunctionTab",			%REG_DWORD%, 0x00000FB2	; When ALPS-Motion tab display sets 0x1BF
HKLM,%SetApoint%,		"Install_Flag",					%REG_DWORD%, 0x00000001
HKLM,%SetApoint%,		"Support_USB_Button_Swap",		%REG_DWORD%, 0x00000001
HKLM,%SetApoint%,		"OEM_ID",						%REG_DWORD%, 0x00000004	; Fujitsu ID
HKLM,%SetApoint%,		"AutoRotationFunction",			%REG_DWORD%, 0x00000001	; Auto Rotation Fuunction switch On
HKLM,%SetApoint%,		"VideoVendorID",				%REG_DWORD%, 0x00000001	; Video Vendor ID (OS Standard)
HKLM,%SetApoint%,		"HidFindLaunchSW",				%REG_DWORD%, 0x00000001	; TouchPad at USB Mouse connexted
HKLM,%SetApoint%,		"TouchPadOnOffLocked",			%REG_DWORD%, 0x00000001
HKLM,%SetApoint%,		"Lang_CH_Singapore",			%REG_DWORD%, 0x00000002
HKLM,%SetApoint%,		"Lang_CH_Macau",				%REG_DWORD%, 0x00000003
HKLM,%SetApoint%,		"Lang_CH_HongKong",				%REG_DWORD%, 0x00000003
HKLM,%SetApoint%,		"ApMsgFwd_Flags", 				%REG_DWORD%, 0x000000FF
HKLM,%SetApoint%,		"CursorChangeType", 					0x00010001,0x00011212
HKLM,%SetApoint%,		"SupportMultiGesture", 					0x00010001,0x00000321
HKLM,%SetApoint%,		"ShowMultiGestureUI", 					0x00010001,0x00000111
HKLM,%SetApoint%,		"SeparateResourceFlag",					0x00010001,0x00000001
HKLM,%SetApoint%,		"SupportMomentum",					0x00010001,0x00000001
HKLM,%SetApoint%,		"EnableTouchSensitivity",					0x00010001,0x00000001

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

; Set HKLM\Software\Alps\Apoint\Button
HKLM,%SetButton%,		"ButtonFunction",				%REG_DWORD%, 0xCD548500
HKLM,%SetButton%,		"DoubleClkSpeed",				%REG_DWORD%, 0x00000008
HKLM,%SetButton%,		"EnableWheel",					%REG_DWORD%, 0x00000002
HKLM,%SetButton%,		"USB_Button_Swap",				%REG_DWORD%, 0x00000000

; Set HKLM\Software\Alps\Apoint\Orientation
HKLM,%SetOrientation%,	"Rotation",						%REG_DWORD%, 0x00000000
HKLM,%SetOrientation%,	"AutoRotationFlag",				%REG_DWORD%, 0x00000001

; Set HKLM\Software\Alps\Apoint\Tapping
HKLM,%SetTapping%,		"Tapping",						%REG_DWORD%, 0x00000001
HKLM,%SetTapping%,		"TapSettings",					%REG_DWORD%, 0x00000009
HKLM,%SetTapping%,		"TapTyping",					%REG_DWORD%, 0x00000000
HKLM,%SetTapping%,		"TapTypingDelay",				%REG_DWORD%, 0x00000002
HKLM,%SetTapping%,		"AutoRelease",					%REG_DWORD%, 0x00000001
HKLM,%SetTapping%,		"TypingDetect",					%REG_DWORD%, 0x00000002
HKLM,%SetTapping%,		"TouchSensitivity",					%REG_DWORD%, 0x00000009

; Set HKLM\Software\Alps\Apoint\Gesture
HKLM,%SetGesture%,		"EasyX",						%REG_DWORD%, 0x00000000
HKLM,%SetGesture%,		"EnableFB",						%REG_DWORD%, 0x00000000
HKLM,%SetGesture%,		"EnableWheel",					%REG_DWORD%, 0x00000002
HKLM,%SetGesture%,		"LockAreaSet",					%REG_DWORD%, 0x00000001
HKLM,%SetGesture%,		"CornerTapOffsetX",				%REG_DWORD%, 0x00000064
HKLM,%SetGesture%,		"CornerTapOffsetY",				%REG_DWORD%, 0x00000064
HKLM,%SetGesture%,		"PadScrollLines",				%REG_SZ%, 	 3
HKLM,%SetGesture%,		"SupportCircularScroll", 			0x00010001, 0x00000001
HKLM,%SetGesture%,		"SupportZoom", 				0x00010001, 0x00000001
HKLM,%SetGesture%,		"EnablePinch", 				%REG_DWORD%,	0x00000000
HKLM,%SetGesture%,		"EnablePan", 				%REG_DWORD%,	0x00000000
HKLM,%SetGesture%,		"EnableTwist", 				%REG_DWORD%,	0x00000000
HKLM,%SetGesture%,		"EnableMoment", 			%REG_DWORD%,	0x00000000
HKLM,%SetGesture%,		"EnableFlick", 				%REG_DWORD%,	0x00000000

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

; Set HKLM\Software\Alps\Other
HKLM,%SetOther%,		"TrayIcon",						%REG_SZ%,	 FALSE
HKLM,%SetOther%,		"UseSound",						%REG_DWORD%, 0x00000000
HKLM,%SetOther%,		"UseIMECap",					%REG_DWORD%, 0x00000000

; Set HKLM\Software\Alps\USBMouse
HKLM,%SetUSBMouse%,		"USBMouse",						%REG_DWORD%, 0x00000000

; Set HKLM\Software\Alps\USBMouse\Exceptions
HKLM,%SetUSBMouseExcept%, "USB_0",						%REG_DWORD%, 0x056A1000
HKLM,%SetUSBMouseExcept%, "USB_1",						%REG_DWORD%, 0x056A1008
HKLM,%SetUSBMouseExcept%, "USB_2",						%REG_DWORD%, 0x056a1001
HKLM,%SetUSBMouseExcept%, "USB_3",						%REG_DWORD%, 0x056a1002

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

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

; Set HKLM\Software\Alps\Exceptions
HKLM,%SetExceptions%,	"PP97FrameClass",				%REG_EX_SZ%, ""
HKLM,%SetExceptions%,	"PP9FrameClass",				%REG_EX_SZ%, ""
HKLM,%SetExceptions%,	"PP10FrameClass",				%REG_EX_SZ%, ""
HKLM,%SetExceptions%,	"PP11FrameClass",				%REG_EX_SZ%, ""
HKLM,%SetExceptions%,	"OpusApp",						%REG_EX_SZ%, ""
HKLM,%SetExceptions%,	"XLMAIN",						%REG_EX_SZ%, ""
HKLM,%SetExceptions%,	"IEFrame",						%REG_EX_SZ%, ""
HKLM,%SetExceptions%,	"MSPhotoEditor32MainClass",		%REG_EX_SZ%, ""
HKLM,%SetExceptions%,	"CabinetWClass",				%REG_EX_SZ%, ""
HKLM,%SetExceptions%,	"ShImgVW:CPreviewWnd",			%REG_EX_SZ%, ""
HKLM,%SetExceptions%,	"WinCalWnd",					%REG_EX_SZ%, ""

; Set Parameters (Drivers)
HKR,,"DoubleClkSpeed",					%REG_DWORD%, 0x00000008
HKR,,"Tapping",							%REG_DWORD%, 0x00000001
HKR,,"TapSettings",						%REG_DWORD%, 0x00000009
HKR,,"Controls",						%REG_DWORD%, 0x00000003
HKR,,"Swap",							%REG_DWORD%, 0x00000000
HKR,,"M_Assign",						%REG_DWORD%, 0x00000003
HKR,,"Acceleration",					%REG_DWORD%, 0x00000004
HKR,,"HorizSensitivity",				%REG_DWORD%, 0x00000020
HKR,,"VertSensitivity",					%REG_DWORD%, 0x00000020
HKR,,"Rotation",						%REG_DWORD%, 0x00000000
HKR,,"EasyScroll",						%REG_DWORD%, 0x7A980014
HKR,,"AutoTime",						%REG_DWORD%, 0x000001F4
HKR,,"LockAreaSet",						%REG_DWORD%, 0x00000001
HKR,,"XOffset",							%REG_DWORD%, 0x00000080
HKR,,"YOffset",							%REG_DWORD%, 0x00000080
HKR,,"XResolution",						%REG_DWORD%, 0x00000420
HKR,,"YResolution",						%REG_DWORD%, 0x00000320
HKR,,"EasyX",							%REG_DWORD%, 0x00000000
HKR,,"CornerTapOffsetX",				%REG_DWORD%, 0x00000064
HKR,,"CornerTapOffsetY",				%REG_DWORD%, 0x00000064
HKR,,"EnableWheel",						%REG_DWORD%, 0x00000002
HKR,,"RightBtnEmulation",				%REG_DWORD%, 0x00000000
HKR,,"ButtonFunction",					%REG_DWORD%, 0xCD548500
HKR,,"MouseSynchIn100nsForMultiDevice",	%REG_DWORD%, 0x00000000
HKR,,"LR_Timelag",						%REG_DWORD%, 0x0000000A
HKR,,"TapTyping",						%REG_DWORD%, 0x00000001
HKR,,"TapTypingDelay",					%REG_DWORD%, 0x00000002
HKR,,"AutoRelease",						%REG_DWORD%, 0x00000001
HKR,,"EnableFB",						%REG_DWORD%, 0x00000000
HKR,,"SelectDevice",					%REG_DWORD%, 0x0000003F
HKR,,"ScrollCancelThreshold_X",			%REG_DWORD%, 0x00000005
HKR,,"ScrollCancelThreshold_Y",			%REG_DWORD%, 0x00000005
HKR,,"PM_Resume",						%REG_DWORD%, 0x00000000
HKR,,"UseIMECap",						%REG_DWORD%, 0x00000000
HKR,,"DragLock_TR_Emulation",			%REG_DWORD%, 0x00000001
HKR,,"ScrollLock_Enable",				%REG_DWORD%, 0x00000001
HKR,,"ScrollLock_Period",				%REG_DWORD%, 0x00000064
HKR,,"ZThresholdMode",					%REG_DWORD%, 0x00000001
HKR,,"WatchDog_Flag",					%REG_DWORD%, 0x00000001
HKR,,"DataModeSwitchTime",				%REG_DWORD%, 0x00000064
HKR,,"TPOnOffStatus",					%REG_DWORD%, 0x00000001
HKR,,"TPOnOffStatus_EnableAtPowerOn",	%REG_DWORD%, 0x00000001
HKR,,"MouseResendExpired",				%REG_DWORD%, 0x00000001
HKR,,"ResendCmdSet",					%REG_DWORD%, 0x00000001
HKR,,"OfficeScrollSrc",					%REG_DWORD%, 0x00000001
HKR,,"MaxDistanceForDrag",				%REG_DWORD%, 0x000000B4
HKR,,"Publisher",					%REG_SZ%, "Alps"
HKR,,"EnableCursorJumpFilter",				%REG_DWORD%, 0x00000001
HKR,,"MT_RecogStopDist",				%REG_DWORD%, 0x02800380
HKR,,"MT_Flick_type",					%REG_DWORD%, 0x00000002
HKR,,"RawModeFilterLevel",				%REG_DWORD%, 0xFFFFFFFF
HKR,,"WaitNormalAck_Enable",            %REG_DWORD%, 0x00000001
HKR,,"EnableTouchSensitivity",				%REG_DWORD%, 0x00000001
HKR,,"PinnacleAG_Z_thresh_cnst",			%REG_DWORD%, 0x008A0028
HKR,,"PinnacleAG_Z_thresh_coef",			%REG_DWORD%, 0x008A0007
HKR,,"MiscompensationCheck_Enable",			%REG_DWORD%, 0x00000001

HKLM,%SetParamsDef%,CornerTapOffsetX,	%REG_DWORD%, 0x00000064
HKLM,%SetParamsDef%,CornerTapOffsetY,	%REG_DWORD%, 0x00000064
HKLM,%SetParamsDef%,TrayIcon,			%REG_DWORD%, 0x00000000
HKLM,%SetParamsDef%,EnableFB,			%REG_DWORD%, 0x00000000
HKLM,%SetParamsDef%,EnableWheel,		%REG_DWORD%, 0x00000002
HKLM,%SetParamsDef%,TouchSensitivity,		%REG_DWORD%, 0x00000009
HKLM,%SetParamsMin%,CornerTapOffsetX,	%REG_DWORD%, 0x00000032
HKLM,%SetParamsMin%,CornerTapOffsetY,	%REG_DWORD%, 0x00000032
HKLM,%SetParamsMax%,CornerTapOffsetX,	%REG_DWORD%, 0x00000096
HKLM,%SetParamsMax%,CornerTapOffsetY,	%REG_DWORD%, 0x00000096

HKLM,%SetLang%\%LangSP%,"LoadResourceFileName",	0,"ApResSP.dll"
HKLM,%SetLang%\%LangJP%,"LoadResourceFileName",	0,"ApResJP.dll"
HKLM,%SetLang%\%LangGR%,"LoadResourceFileName",	0,"ApResGR.dll"
HKLM,%SetLang%\%LangFR%,"LoadResourceFileName",	0,"ApResFR.dll"
HKLM,%SetLang%\%LangUS%,"LoadResourceFileName",	0,"ApResUS.dll"
HKLM,%SetLang%\%LangCT%,"LoadResourceFileName",	0,"ApResCT.dll"
HKLM,%SetLang%\%LangCS%,"LoadResourceFileName",	0,"ApResCS.dll"
HKLM,%SetLang%\%LangIT%,"LoadResourceFileName",	0,"ApResIT.dll"
HKLM,%SetLang%\%LangKR%,"LoadResourceFileName",	0,"ApResKR.dll"

[MouFilter_Inst_Win7.AddReg]
HKLM,%SetApoint%, "SupportMultiGesture", 0x00010001,	0x00500321
HKLM,%SetApoint%, "ShowMultiGestureUI",	0x00010001,	0x00100110

[MouFilter_Inst_Vista.AddReg]
HKLM,%SetLang%\%LangSP%,"LoadPopupHelpFileName",	0,"ApointSP.chm"
HKLM,%SetLang%\%LangJP%,"LoadPopupHelpFileName",	0,"ApointJP.chm"
HKLM,%SetLang%\%LangGR%,"LoadPopupHelpFileName",	0,"ApointGR.chm"
HKLM,%SetLang%\%LangFR%,"LoadPopupHelpFileName",	0,"ApointFR.chm"
HKLM,%SetLang%\%LangUS%,"LoadPopupHelpFileName",	0,"ApointUS.chm"
HKLM,%SetLang%\%LangCT%,"LoadPopupHelpFileName",	0,"ApointCT.chm"
HKLM,%SetLang%\%LangCS%,"LoadPopupHelpFileName",	0,"ApointCS.chm"
HKLM,%SetLang%\%LangIT%,"LoadPopupHelpFileName",	0,"ApointIT.chm"
HKLM,%SetLang%\%LangKR%,"LoadPopupHelpFileName",	0,"ApointKR.chm"

[MouFilter_Inst_2KXP.AddReg]
HKLM,%SetLang%\%LangSP%,"LoadPopupHelpFileName",	0,"ApointSP.pop"
HKLM,%SetLang%\%LangJP%,"LoadPopupHelpFileName",	0,"ApointJP.pop"
HKLM,%SetLang%\%LangGR%,"LoadPopupHelpFileName",	0,"ApointGR.pop"
HKLM,%SetLang%\%LangFR%,"LoadPopupHelpFileName",	0,"ApointFR.pop"
HKLM,%SetLang%\%LangUS%,"LoadPopupHelpFileName",	0,"ApointUS.pop"
HKLM,%SetLang%\%LangCT%,"LoadPopupHelpFileName",	0,"ApointCT.pop"
HKLM,%SetLang%\%LangCS%,"LoadPopupHelpFileName",	0,"ApointCS.pop"
HKLM,%SetLang%\%LangIT%,"LoadPopupHelpFileName",	0,"ApointIT.pop"
HKLM,%SetLang%\%LangKR%,"LoadPopupHelpFileName",	0,"ApointKR.pop"

[MouFilter_CoInstaller_AddReg]
HKR,,CoInstallers32,				%REG_MULTI_SZ%, "WdfCoinstaller01005.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.5

; ------------- Localizable strings ------------------------
[Strings]
Provider			= "Alps"								; Provider
Filter.SvcDesc		= "Alps Pointing-device Filter Driver"	; Driver Name
Mfg.Desc			= "Alps Electric"						; Manufacture
Apoint.DeviceDesc 	= "Alps Pointing-device"				; Device Name

Apoint_Path			= "Apoint2K"
DiskID				= "Alps Pointing-device Driver for Windows 2000/XP/Vista 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"
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"
SetUSBMouse			= "Software\Alps\Apoint\USBMouse"
SetUSBMouseExcept	= "Software\Alps\Apoint\USBMouse\Exceptions"
SetLang				= "Software\Alps\Apoint\Language"

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"

ProductVersion		= "7.5.404.117"

; ------------- Standard defs ----------------------------
REG_EX_SZ		= 0x00020000
REG_DWORD		= 0x00010001
REG_SZ			= 0x00000000
REG_MULTI_SZ	= 0x00010000
