;---------------------------------------------------------------------
; Apfiltr.inf
;
; NEC NX PAD Driver for Windows 2000/XP Installation
; Copyright(C) 1999-2003 Alps Electric Co., Ltd.
;---------------------------------------------------------------------

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

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

; Manufacturer Sections
; ---------------------------------------------------------
[Manufacturer]
%Mfg.Desc%		= CompanyMfg
 
[CompanyMfg]
%*AUI0200.DeviceDesc% = MouFilter_Inst0200,*AUI0200,ACPI\AUI0200,*AUI0201,ACPI\AUI0201,*AUI0202,ACPI\AUI0202,*AUI0203,ACPI\AUI0203,*PNP0F03,ACPI\PNP0F03,*PNP0F0E,ACPI\PNP0F0E,*PNP0F0B,ACPI\PNP0F0B,*PNP0F12,ACPI\PNP0F12,*PNP0F13,ACPI\PNP0F13
;%*AUI0201.DeviceDesc% = MouFilter_Inst0201,*AUI0201,ACPI\AUI0201
;%*AUI0202.DeviceDesc% = MouFilter_Inst0202,*AUI0202,ACPI\AUI0202
;%*AUI0203.DeviceDesc% = MouFilter_Inst0203,*AUI0203,ACPI\AUI0203

;[ControlFlags]
;ExcludeFromSelect	= *

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

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

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

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

;	---------------------------------
;	-------- AUI0200 Setting --------
;	---------------------------------
[MouFilter_Inst0200]
Include		= msmouse.inf
Needs		= PS2_Inst

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

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

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

;	---------------------------------
;	-------- AUI0201 Setting --------
;	---------------------------------
[MouFilter_Inst0201]
Include		= msmouse.inf
Needs		= PS2_Inst

; our own sections
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome0201
AddReg		= MouFilter_Inst0201.AddReg

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

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

;	---------------------------------
;	-------- AUI0202 Setting --------
;	---------------------------------
[MouFilter_Inst0202]
Include		= msmouse.inf
Needs		= PS2_Inst

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

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

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

;	---------------------------------
;	-------- AUI0203 Setting --------
;	---------------------------------
[MouFilter_Inst0203]
Include		= msmouse.inf
Needs		= PS2_Inst

; our own sections
CopyFiles	= MouFilter_CopyFiles, MouFilter_CopyFilesDll, MouFilter_CopyFilesHome0203
AddReg		= MouFilter_Inst0203.AddReg

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

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


;--------------- 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
EzAuto.dll
ApWheel.dll
HidFind.exe
ApointSP.pop,ApintNSP.pop
ApointJP.pop,ApintNJP.pop
ApointGR.pop,ApintNGR.pop
ApointFR.pop,ApintNFR.pop
ApointUS.pop,ApintNUS.pop
ApointCT.pop,ApintNCT.pop
ApointCS.pop,ApintNCS.pop
ApointIT.pop,ApintNIT.pop
Uninstap.exe
ApWelcom.exe
ApWelcom.ini
AH_2sw.chm
AH_4sw.chm
AH_5sw.chm
BackFord.bmp
NO_UL_PT.bmp
NO_UR_PT.bmp
Scr_r_pt.bmp
Scr_u_pt.bmp
UL_PT.bmp
UR_PT.bmp

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

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

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

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

;// Auto Run ApWelcom.exe
;HKCU,"Software\Microsoft\Windows\CurrentVersion\Run",	"WelcomePad",0,%16422%\%Apoint_Path%\ApWelcom.exe

;// Set HKLM\Software\Alps\Apoint
HKLM,%SetApoint%,	"HomeDirectory",			0x00020000,	"%16422%\%Apoint_Path%"
HKLM,%SetApoint%,	"TrayIcon",					0x00020000,	TRUE
HKLM,%SetApoint%,	"ProductVer",				0x00020000,	%ProductVersion%
HKLM,%SetApoint%,	"SnapTo",					0x00010001,	0x00000000
HKLM,%SetApoint%,	"UseScrollLock",			0x00010001,	0x00000001
HKLM,%SetApoint%,	"PadScrollLines",			0,	3
HKLM,%SetApoint%,	"EnableMultiUser",			0x00010001,	0x00000002
HKLM,%SetApoint%,	"SupportFunctionTab",		0x00010001,	0x000003B3
HKLM,%SetApoint%,	"Install_Flag",				0x00010001,	0x00000001		; 1=뤵룕궖꿇식겟먠믦룊딖돸/0=Not Nothing
HKLM,%SetApoint%,	"LogoFileName",				0x00020000,	"%16422%\%Apoint_Path%\LOGO.BMP"
HKLM,%SetApoint%,	"LogoDispFlag",				0x00010001,	0x00000001
HKLM,%SetApoint%,	"Animation_Help_Dir",		0,	"%16422%\%Apoint_Path%"
HKLM,%SetApoint%,	"WelcomeAppName",			0,	"%16422%\%Apoint_Path%\ApWelcom.exe"
HKLM,%SetApoint%,	"Support_USB_Button_Swap",	0x00010001,	0x00000001
HKLM,%SetApoint%,	"PadName",					0,	"NX PAD"
;HKLM,%SetApoint%,	"ShowWelcomeFlag",			0x00010001,	0x00000000
HKLM,%SetApoint%,	"SupportLanguage",			0x00010001,	0x000000ff

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

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

;// Set HKLM\Software\Alps\Apoint\Motion
HKLM,%SetMotion%,	"HorizSensitivity",		0x00010001,0x00000015
HKLM,%SetMotion%,	"VertSensitivity",		0x00010001,0x00000015
HKLM,%SetMotion%,	"Acceleration",			0x00010001,0x00000002
HKLM,%SetMotion%,	"SnapTo",				0x00010001,0x00000000
HKLM,%SetMotion%,	"TrailEnable",			0x00010001,0x00000000
HKLM,%SetMotion%,	"MouseTrails",			0x00010001,0x00000003

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

;// Set HKLM\Software\Alps\Apoint\Gesture
HKLM,%SetGesture%,	"EasyX",				0x00010001,0x00000000
HKLM,%SetGesture%,	"EnableFB",				0x00010001,0x00000001
HKLM,%SetGesture%,	"EnableWheel",			0x00010001,0x00000003
HKLM,%SetGesture%,	"LockAreaSet",			0x00010001,0x00000001
HKLM,%SetGesture%,	"CornerTapOffsetX",		0x00010001,0x00000064
HKLM,%SetGesture%,	"CornerTapOffsetY",		0x00010001,0x00000064
HKLM,%SetGesture%,	"PadScrollLines",		0,3

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

; 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

; 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,0x00000064
HKR,,"CornerTapOffsetY"	,0x00010001,0x00000064
HKR,,"EnableWheel"		,0x00010001,0x00000003
HKR,,"ButtonFunction"	,0x00010001,0xCD548500
HKR,,"LR_Timelag"		,0x00010001,0x0000000A
HKR,,"TapTyping"		,0x00010001,0x00000001
HKR,,"TapTypingDelay"	,0x00010001,0x00000000
HKR,,"AutoRelease"		,0x00010001,0x00000001
HKR,,"PM_Resume"		,0x00010001,0x00000000
HKR,,"EnableFB"			,0x00010001,0x00000001
HKR,,"SelectDevice"		,0x00010001,0x00000003
HKR,,"SPTapping"		,0x00010001,0x00000001
HKR,,"SPTapSettings"	,0x00010001,0x00000001
HKR,,"SPTapTyping"		,0x00010001,0x00000001
HKR,,"SPTapTypingDelay", 0x00010001,0x00000000
HKR,,"SPFunction"		,0x00010001,0x0054A500
HKR,,"SPScroll"			,0x00010001,0x00000002
HKR,,"UseIMECap"		,0x00010001,0x00000000
HKR,,"DragLock_TR_Emulation",	0x00010001,0x00000001
HKR,,"SetToBTN3_DEV",			0x00010001,0x00000001
HKR,,"Scroll_HV",				0x00010001,0x00000003
HKR,,"OldSetPostMsgInfo",		0x00010001,0x00000001
HKR,,"DisableDLTRE_RevCheck",	0x00010001,0x00000001
HKR,,"CustomFunction901",		0x00010001,0x00000001
HKR,,"EnablePostMBtnEvent",		0x00010001,0x00000001
HKR,,"FixedAlpsDeviceID",		0x00010001,0xFFFFFFFF
HKR,,"SeparateSPButton",		0x00010001,0x00000001
HKR,,"RecoveryBIODP_Enable",	0x00010001,0x00000001
HKR,,"SP_M_DownUpMsg_Enable",	0x00010001,0x00000001
HKR,,"SP_Scroll_Angle_Enable",	0x00010001,0x00000001
HKR,,"CornerTapEx_Enable",		0x00010001,0x00000001
HKR,,"CornerTapEx_UpperLeft_X",		0x00010001,0x00000032
HKR,,"CornerTapEx_UpperLeft_Y",		0x00010001,0x00000032
HKR,,"CornerTapEx_UpperRight_X",	0x00010001,0x00000032
HKR,,"CornerTapEx_UpperRight_Y",	0x00010001,0x00000032
HKR,,"Emulate5swGPby4swGP",			0x00010001,0x00000001
HKR,,"NotifiedPnPIDNumber",			0x00010001,0x00000000
HKR,,"TPOnOffStatus",				0x00010001,0x00000001
HKR,,"TPOnOffStatus_EnableAtPowerOn",		0x00010001,0x00000001

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

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

;// Wheel Srcoll Lines
HKCU,	%SetWheelScrollLines%,	WheelScrollLines,	0,	3

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


;	####################################################################################
;	################################# AUI0200 Setting ##################################
;	####################################################################################

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

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

;// Auto Run ApWelcom.exe
;HKCU,"Software\Microsoft\Windows\CurrentVersion\Run",	"WelcomePad",0,%16422%\%Apoint_Path%\ApWelcom.exe

;// Set HKLM\Software\Alps\Apoint
HKLM,%SetApoint%,	"HomeDirectory",		0x00020000,	"%16422%\%Apoint_Path%"
HKLM,%SetApoint%,	"TrayIcon",				0x00020000,	TRUE
HKLM,%SetApoint%,	"ProductVer",			0x00020000,	%ProductVersion%
HKLM,%SetApoint%,	"SnapTo",				0x00010001,	0x00000000
HKLM,%SetApoint%,	"UseScrollLock",		0x00010001,	0x00000001
HKLM,%SetApoint%,	"PadScrollLines",		0,	3
HKLM,%SetApoint%,	"EnableMultiUser",		0x00010001,	0x00000002
HKLM,%SetApoint%,	"SupportFunctionTab",	0x00010001,	0x000003B3
HKLM,%SetApoint%,	"Install_Flag",			0x00010001,	0x00000001		; 1=뤵룕궖꿇식겟먠믦룊딖돸/0=Not Nothing
HKLM,%SetApoint%,	"LogoFileName",			0x00020000,	"%16422%\%Apoint_Path%\LOGO.BMP"
HKLM,%SetApoint%,	"LogoDispFlag",			0x00010001,	0x00000001
HKLM,%SetApoint%,	"Animation_Help_Dir",	0,	"%16422%\%Apoint_Path%"
HKLM,%SetApoint%,	"WelcomeAppName",		0,	"%16422%\%Apoint_Path%\ApWelcom.exe"
HKLM,%SetApoint%,	"Support_USB_Button_Swap",	0x00010001,	0x00000001
HKLM,%SetApoint%,	"PadName",				0,	"NX PAD"
;HKLM,%SetApoint%,	"ShowWelcomeFlag",		0x00010001,	0x00000000
HKLM,%SetApoint%,	"SupportLanguage",		0x00010001,	0x000000ff

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

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

;// Set HKLM\Software\Alps\Apoint\Motion
HKLM,%SetMotion%,	"HorizSensitivity",		0x00010001,0x00000015
HKLM,%SetMotion%,	"VertSensitivity",		0x00010001,0x00000015
HKLM,%SetMotion%,	"Acceleration",			0x00010001,0x00000002
HKLM,%SetMotion%,	"SnapTo",				0x00010001,0x00000000
HKLM,%SetMotion%,	"TrailEnable",			0x00010001,0x00000000
HKLM,%SetMotion%,	"MouseTrails",			0x00010001,0x00000003

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

;// Set HKLM\Software\Alps\Apoint\Gesture
HKLM,%SetGesture%,	"EasyX",				0x00010001,0x00000000
HKLM,%SetGesture%,	"EnableFB",				0x00010001,0x00000001
HKLM,%SetGesture%,	"EnableWheel",			0x00010001,0x00000003
HKLM,%SetGesture%,	"LockAreaSet",			0x00010001,0x00000001
HKLM,%SetGesture%,	"CornerTapOffsetX",		0x00010001,0x00000064
HKLM,%SetGesture%,	"CornerTapOffsetY",		0x00010001,0x00000064
HKLM,%SetGesture%,	"PadScrollLines",		0,3

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

; 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

; 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,0x00000064
HKR,,"CornerTapOffsetY"	,0x00010001,0x00000064
HKR,,"EnableWheel"		,0x00010001,0x00000003
HKR,,"ButtonFunction"	,0x00010001,0xCD548500
HKR,,"LR_Timelag"		,0x00010001,0x0000000A
HKR,,"TapTyping"		,0x00010001,0x00000001
HKR,,"TapTypingDelay"	,0x00010001,0x00000000
HKR,,"AutoRelease"		,0x00010001,0x00000001
HKR,,"PM_Resume"		,0x00010001,0x00000000
HKR,,"EnableFB"			,0x00010001,0x00000001
HKR,,"SelectDevice"		,0x00010001,0x00000003
HKR,,"SPTapping"		,0x00010001,0x00000001
HKR,,"SPTapSettings"	,0x00010001,0x00000001
HKR,,"SPTapTyping"		,0x00010001,0x00000001
HKR,,"SPTapTypingDelay", 0x00010001,0x00000000
HKR,,"SPFunction"		,0x00010001,0x0054A500
HKR,,"SPScroll"			,0x00010001,0x00000002
HKR,,"UseIMECap"		,0x00010001,0x00000000
HKR,,"DragLock_TR_Emulation",	0x00010001,0x00000001
HKR,,"SetToBTN3_DEV",			0x00010001,0x00000001
HKR,,"Scroll_HV",				0x00010001,0x00000003
HKR,,"OldSetPostMsgInfo",		0x00010001,0x00000001
HKR,,"DisableDLTRE_RevCheck",	0x00010001,0x00000001
HKR,,"CustomFunction901",		0x00010001,0x00000001
HKR,,"EnablePostMBtnEvent",		0x00010001,0x00000001
HKR,,"FixedAlpsDeviceID",		0x00010001,0xFFFFFFFF
HKR,,"SeparateSPButton",		0x00010001,0x00000001
HKR,,"RecoveryBIODP_Enable", 	0x00010001,0x00000001
HKR,,"SP_M_DownUpMsg_Enable", 	0x00010001,0x00000001
HKR,,"SP_Scroll_Angle_Enable",	0x00010001,0x00000001
HKR,,"CornerTapEx_Enable",		0x00010001,0x00000001
HKR,,"CornerTapEx_UpperLeft_X",		0x00010001,0x00000032
HKR,,"CornerTapEx_UpperLeft_Y",		0x00010001,0x00000032
HKR,,"CornerTapEx_UpperRight_X",	0x00010001,0x00000032
HKR,,"CornerTapEx_UpperRight_Y",	0x00010001,0x00000032
HKR,,"Emulate5swGPby4swGP",			0x00010001,0x00000001
HKR,,"NotifiedPnPIDNumber",			0x00010001,0x00000000
HKR,,"TPOnOffStatus",				0x00010001,0x00000001
HKR,,"TPOnOffStatus_EnableAtPowerOn",		0x00010001,0x00000001

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

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

;// Wheel Srcoll Lines
HKCU,	%SetWheelScrollLines%,	WheelScrollLines,	0,	3

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


;	####################################################################################
;	################################# AUI0201 Setting ##################################
;	####################################################################################

[MouFilter_CopyFilesHome0201]
Apoint.exe
Ezcapt.exe
Logo.bmp
Gesture.bmp
ApntEx.exe
Apoint.dll
EzAuto.dll
ApWheel.dll
HidFind.exe
ApointSP.pop,ApintNSP.pop
ApointJP.pop,ApintNJP.pop
ApointGR.pop,ApintNGR.pop
ApointFR.pop,ApintNFR.pop
ApointUS.pop,ApintNUS.pop
ApointCT.pop,ApintNCT.pop
ApointCS.pop,ApintNCS.pop
ApointIT.pop,ApintNIT.pop
Uninstap.exe
BackFord.bmp
NO_UL_PT.bmp
NO_UR_PT.bmp
Scr_r_pt.bmp
Scr_u_pt.bmp
UL_PT.bmp
UR_PT.bmp

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

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

;// Set HKLM\Software\Alps\Apoint
HKLM,%SetApoint%,	"HomeDirectory",		0x00020000,	"%16422%\%Apoint_Path%"
HKLM,%SetApoint%,	"TrayIcon",				0x00020000,	TRUE
HKLM,%SetApoint%,	"ProductVer",			0x00020000,	%ProductVersion%
HKLM,%SetApoint%,	"SnapTo",				0x00010001,	0x00000000
HKLM,%SetApoint%,	"UseScrollLock",		0x00010001,	0x00000001
HKLM,%SetApoint%,	"PadScrollLines",		0,	3
HKLM,%SetApoint%,	"EnableMultiUser",		0x00010001,	0x00000002
HKLM,%SetApoint%,	"SupportFunctionTab",	0x00010001,	0x000003B3
HKLM,%SetApoint%,	"Install_Flag",			0x00010001,	0x00000001		; 1=뤵룕궖꿇식겟먠믦룊딖돸/0=Not Nothing
HKLM,%SetApoint%,	"LogoFileName",			0x00020000,	""
HKLM,%SetApoint%,	"LogoDispFlag",			0x00010001,	0x00000000
HKLM,%SetApoint%,	"Support_USB_Button_Swap",	0x00010001,	0x00000001
HKLM,%SetApoint%,	"PadName",				0,	"NX PAD"
;HKLM,%SetApoint%,	"ShowWelcomeFlag",		0x00010001,	0x00000000
HKLM,%SetApoint%,	"SupportLanguage",		0x00010001,	0x000000ff

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

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

;// Set HKLM\Software\Alps\Apoint\Motion
HKLM,%SetMotion%,	"HorizSensitivity",		0x00010001,0x00000015
HKLM,%SetMotion%,	"VertSensitivity",		0x00010001,0x00000015
HKLM,%SetMotion%,	"Acceleration",			0x00010001,0x00000002
HKLM,%SetMotion%,	"SnapTo",				0x00010001,0x00000000
HKLM,%SetMotion%,	"TrailEnable",			0x00010001,0x00000000
HKLM,%SetMotion%,	"MouseTrails",			0x00010001,0x00000003

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

;// Set HKLM\Software\Alps\Apoint\Gesture
HKLM,%SetGesture%,	"EasyX",				0x00010001,0x00000000
HKLM,%SetGesture%,	"EnableFB",				0x00010001,0x00000001
HKLM,%SetGesture%,	"EnableWheel",			0x00010001,0x00000003
HKLM,%SetGesture%,	"LockAreaSet",			0x00010001,0x00000001
HKLM,%SetGesture%,	"CornerTapOffsetX",		0x00010001,0x00000064
HKLM,%SetGesture%,	"CornerTapOffsetY",		0x00010001,0x00000064
HKLM,%SetGesture%,	"PadScrollLines",		0,3

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

; 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

; 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,0x00000064
HKR,,"CornerTapOffsetY"	,0x00010001,0x00000064
HKR,,"EnableWheel"		,0x00010001,0x00000003
HKR,,"ButtonFunction"	,0x00010001,0xCD548500
HKR,,"LR_Timelag"		,0x00010001,0x0000000A
HKR,,"TapTyping"		,0x00010001,0x00000001
HKR,,"TapTypingDelay"	,0x00010001,0x00000000
HKR,,"AutoRelease"		,0x00010001,0x00000001
HKR,,"PM_Resume"		,0x00010001,0x00000000
HKR,,"EnableFB"			,0x00010001,0x00000001
HKR,,"SelectDevice"		,0x00010001,0x00000003
HKR,,"SPTapping"		,0x00010001,0x00000001
HKR,,"SPTapSettings"	,0x00010001,0x00000001
HKR,,"SPTapTyping"		,0x00010001,0x00000001
HKR,,"SPTapTypingDelay", 0x00010001,0x00000000
HKR,,"SPFunction"		,0x00010001,0x0054A500
HKR,,"SPScroll"			,0x00010001,0x00000002
HKR,,"UseIMECap"		,0x00010001,0x00000000
HKR,,"DragLock_TR_Emulation",	0x00010001,0x00000001
HKR,,"SetToBTN3_DEV",			0x00010001,0x00000001
HKR,,"Scroll_HV",				0x00010001,0x00000003
HKR,,"OldSetPostMsgInfo",		0x00010001,0x00000001
HKR,,"DisableDLTRE_RevCheck",	0x00010001,0x00000001
HKR,,"CustomFunction901",		0x00010001,0x00000001
HKR,,"EnablePostMBtnEvent",		0x00010001,0x00000001
HKR,,"FixedAlpsDeviceID",		0x00010001,0xFFFFFFFF
HKR,,"SeparateSPButton",		0x00010001,0x00000001
HKR,,"RecoveryBIODP_Enable", 	0x00010001,0x00000001
HKR,,"SP_M_DownUpMsg_Enable", 	0x00010001,0x00000001
HKR,,"SP_Scroll_Angle_Enable",	0x00010001,0x00000001
HKR,,"CornerTapEx_Enable",		0x00010001,0x00000001
HKR,,"CornerTapEx_UpperLeft_X",		0x00010001,0x00000032
HKR,,"CornerTapEx_UpperLeft_Y",		0x00010001,0x00000032
HKR,,"CornerTapEx_UpperRight_X",	0x00010001,0x00000032
HKR,,"CornerTapEx_UpperRight_Y",	0x00010001,0x00000032
HKR,,"Emulate5swGPby4swGP",			0x00010001,0x00000001
HKR,,"NotifiedPnPIDNumber",			0x00010001,0x00000000
HKR,,"TPOnOffStatus",				0x00010001,0x00000001
HKR,,"TPOnOffStatus_EnableAtPowerOn",		0x00010001,0x00000001

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

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

;// Wheel Srcoll Lines
HKCU,	%SetWheelScrollLines%,	WheelScrollLines,	0,	3

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

;	####################################################################################
;	################################# AUI0202 Setting ##################################
;	####################################################################################

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

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

;// Auto Run ApWelcom.exe
;HKCU,"Software\Microsoft\Windows\CurrentVersion\Run",	"WelcomePad",0,%16422%\%Apoint_Path%\ApWelcom.exe

;// Set HKLM\Software\Alps\Apoint
HKLM,%SetApoint%,	"HomeDirectory",		0x00020000,	"%16422%\%Apoint_Path%"
HKLM,%SetApoint%,	"TrayIcon",				0x00020000,	TRUE
HKLM,%SetApoint%,	"ProductVer",			0x00020000,	%ProductVersion%
HKLM,%SetApoint%,	"SnapTo",				0x00010001,	0x00000000
HKLM,%SetApoint%,	"UseScrollLock",		0x00010001,	0x00000001
HKLM,%SetApoint%,	"PadScrollLines",		0,	3
HKLM,%SetApoint%,	"EnableMultiUser",		0x00010001,	0x00000002
HKLM,%SetApoint%,	"SupportFunctionTab",	0x00010001,	0x000003B3
HKLM,%SetApoint%,	"Install_Flag",			0x00010001,	0x00000001		; 1=뤵룕궖꿇식겟먠믦룊딖돸/0=Not Nothing
HKLM,%SetApoint%,	"LogoFileName",			0x00020000,	"%16422%\%Apoint_Path%\LOGO.BMP"
HKLM,%SetApoint%,	"LogoDispFlag",			0x00010001,	0x00000001
HKLM,%SetApoint%,	"Animation_Help_Dir",	0,	"%16422%\%Apoint_Path%"
HKLM,%SetApoint%,	"WelcomeAppName",		0,	"%16422%\%Apoint_Path%\ApWelcom.exe"
HKLM,%SetApoint%,	"Support_USB_Button_Swap",	0x00010001,	0x00000001
HKLM,%SetApoint%,	"PadName",				0,	"NX PAD"
;HKLM,%SetApoint%,	"ShowWelcomeFlag",		0x00010001,	0x00000000
HKLM,%SetApoint%,	"SupportLanguage",		0x00010001,	0x000000ff

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

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

;// Set HKLM\Software\Alps\Apoint\Motion
HKLM,%SetMotion%,	"HorizSensitivity",		0x00010001,0x00000015
HKLM,%SetMotion%,	"VertSensitivity",		0x00010001,0x00000015
HKLM,%SetMotion%,	"Acceleration",			0x00010001,0x00000002
HKLM,%SetMotion%,	"SnapTo",				0x00010001,0x00000000
HKLM,%SetMotion%,	"TrailEnable",			0x00010001,0x00000000
HKLM,%SetMotion%,	"MouseTrails",			0x00010001,0x00000003

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

;// Set HKLM\Software\Alps\Apoint\Gesture
HKLM,%SetGesture%,	"EasyX",				0x00010001,0x00000000
HKLM,%SetGesture%,	"EnableFB",				0x00010001,0x00000001
HKLM,%SetGesture%,	"EnableWheel",			0x00010001,0x00000003
HKLM,%SetGesture%,	"LockAreaSet",			0x00010001,0x00000001
HKLM,%SetGesture%,	"CornerTapOffsetX",		0x00010001,0x00000064
HKLM,%SetGesture%,	"CornerTapOffsetY",		0x00010001,0x00000064
HKLM,%SetGesture%,	"PadScrollLines",		0,3

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

; 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

; 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,0x00000064
HKR,,"CornerTapOffsetY"	,0x00010001,0x00000064
HKR,,"EnableWheel"		,0x00010001,0x00000003
HKR,,"ButtonFunction"	,0x00010001,0xCD548500
HKR,,"LR_Timelag"		,0x00010001,0x0000000A
HKR,,"TapTyping"		,0x00010001,0x00000001
HKR,,"TapTypingDelay"	,0x00010001,0x00000000
HKR,,"AutoRelease"		,0x00010001,0x00000001
HKR,,"PM_Resume"		,0x00010001,0x00000000
HKR,,"EnableFB"			,0x00010001,0x00000001
HKR,,"SelectDevice"		,0x00010001,0x00000003
HKR,,"SPTapping"		,0x00010001,0x00000001
HKR,,"SPTapSettings"	,0x00010001,0x00000001
HKR,,"SPTapTyping"		,0x00010001,0x00000001
HKR,,"SPTapTypingDelay", 0x00010001,0x00000000
HKR,,"SPFunction"		,0x00010001,0x0054A500
HKR,,"SPScroll"			,0x00010001,0x00000002
HKR,,"UseIMECap"		,0x00010001,0x00000000
HKR,,"DragLock_TR_Emulation",	0x00010001,0x00000001
HKR,,"SetToBTN3_DEV",			0x00010001,0x00000001
HKR,,"Scroll_HV",				0x00010001,0x00000003
HKR,,"OldSetPostMsgInfo",		0x00010001,0x00000001
HKR,,"DisableDLTRE_RevCheck",	0x00010001,0x00000001
HKR,,"CustomFunction901",		0x00010001,0x00000001
HKR,,"EnablePostMBtnEvent",		0x00010001,0x00000001
HKR,,"FixedAlpsDeviceID",		0x00010001,0xFFFFFFFF
HKR,,"SeparateSPButton",		0x00010001,0x00000001
HKR,,"RecoveryBIODP_Enable", 	0x00010001,0x00000001
HKR,,"SP_M_DownUpMsg_Enable", 	0x00010001,0x00000001
HKR,,"SP_Scroll_Angle_Enable",	0x00010001,0x00000001
HKR,,"CornerTapEx_Enable",		0x00010001,0x00000001
HKR,,"CornerTapEx_UpperLeft_X",		0x00010001,0x00000032
HKR,,"CornerTapEx_UpperLeft_Y",		0x00010001,0x00000032
HKR,,"CornerTapEx_UpperRight_X",	0x00010001,0x00000032
HKR,,"CornerTapEx_UpperRight_Y",	0x00010001,0x00000032
HKR,,"Emulate5swGPby4swGP",			0x00010001,0x00000001
HKR,,"NotifiedPnPIDNumber",			0x00010001,0x00000000
HKR,,"TPOnOffStatus",				0x00010001,0x00000001
HKR,,"TPOnOffStatus_EnableAtPowerOn",		0x00010001,0x00000001

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

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

;// Wheel Srcoll Lines
HKCU,	%SetWheelScrollLines%,	WheelScrollLines,	0,	3

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


;	####################################################################################
;	################################# AUI0203 Setting ##################################
;	####################################################################################

[MouFilter_CopyFilesHome0203]
Apoint.exe
Ezcapt.exe
Logo.bmp
Gesture.bmp
ApntEx.exe
Apoint.dll
EzAuto.dll
ApWheel.dll
HidFind.exe
ApointSP.pop,ApintNSP.pop
ApointJP.pop,ApintNJP.pop
ApointGR.pop,ApintNGR.pop
ApointFR.pop,ApintNFR.pop
ApointUS.pop,ApintNUS.pop
ApointCT.pop,ApintNCT.pop
ApointCS.pop,ApintNCS.pop
ApointIT.pop,ApintNIT.pop
Uninstap.exe
BackFord.bmp
NO_UL_PT.bmp
NO_UR_PT.bmp
Scr_r_pt.bmp
Scr_u_pt.bmp
UL_PT.bmp
UR_PT.bmp

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

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

;// Set HKLM\Software\Alps\Apoint
HKLM,%SetApoint%,	"HomeDirectory",		0x00020000,	"%16422%\%Apoint_Path%"
HKLM,%SetApoint%,	"TrayIcon",				0x00020000,	TRUE
HKLM,%SetApoint%,	"ProductVer",			0x00020000,	%ProductVersion%
HKLM,%SetApoint%,	"SnapTo",				0x00010001,	0x00000000
HKLM,%SetApoint%,	"UseScrollLock",		0x00010001,	0x00000001
HKLM,%SetApoint%,	"PadScrollLines",		0,	3
HKLM,%SetApoint%,	"EnableMultiUser",		0x00010001,	0x00000002
HKLM,%SetApoint%,	"SupportFunctionTab",	0x00010001,	0x000001B7
HKLM,%SetApoint%,	"Install_Flag",			0x00010001,	0x00000001		; 1=뤵룕궖꿇식겟먠믦룊딖돸/0=Not Nothing
HKLM,%SetApoint%,	"LogoFileName",			0x00020000,	""
HKLM,%SetApoint%,	"LogoDispFlag",			0x00010001,	0x00000000
HKLM,%SetApoint%,	"Support_USB_Button_Swap",	0x00010001,	0x00000001
HKLM,%SetApoint%,	"PadName",				0,	"NX PAD"
;HKLM,%SetApoint%,	"ShowWelcomeFlag",		0x00010001,	0x00000000
HKLM,%SetApoint%,	"SupportLanguage",		0x00010001,	0x000000ff

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

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

;// Set HKLM\Software\Alps\Apoint\Motion
HKLM,%SetMotion%,	"HorizSensitivity",		0x00010001,0x00000015
HKLM,%SetMotion%,	"VertSensitivity",		0x00010001,0x00000015
HKLM,%SetMotion%,	"Acceleration",			0x00010001,0x00000002
HKLM,%SetMotion%,	"SnapTo",				0x00010001,0x00000000
HKLM,%SetMotion%,	"TrailEnable",			0x00010001,0x00000000
HKLM,%SetMotion%,	"MouseTrails",			0x00010001,0x00000003

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

;// Set HKLM\Software\Alps\Apoint\Gesture
HKLM,%SetGesture%,	"EasyX",				0x00010001,0x00000000
HKLM,%SetGesture%,	"EnableFB",				0x00010001,0x00000001
HKLM,%SetGesture%,	"EnableWheel",			0x00010001,0x00000003
HKLM,%SetGesture%,	"LockAreaSet",			0x00010001,0x00000001
HKLM,%SetGesture%,	"CornerTapOffsetX",		0x00010001,0x00000064
HKLM,%SetGesture%,	"CornerTapOffsetY",		0x00010001,0x00000064
HKLM,%SetGesture%,	"PadScrollLines",		0,3

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

; 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

; 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,0x00000064
HKR,,"CornerTapOffsetY"	,0x00010001,0x00000064
HKR,,"EnableWheel"		,0x00010001,0x00000003
HKR,,"ButtonFunction"	,0x00010001,0xCD548500
HKR,,"LR_Timelag"		,0x00010001,0x0000000A
HKR,,"TapTyping"		,0x00010001,0x00000001
HKR,,"TapTypingDelay"	,0x00010001,0x00000000
HKR,,"AutoRelease"		,0x00010001,0x00000001
HKR,,"PM_Resume"		,0x00010001,0x00000000
HKR,,"EnableFB"			,0x00010001,0x00000001
HKR,,"SelectDevice"		,0x00010001,0x00000003
HKR,,"SPTapping"		,0x00010001,0x00000001
HKR,,"SPTapSettings"	,0x00010001,0x00000001
HKR,,"SPTapTyping"		,0x00010001,0x00000001
HKR,,"SPTapTypingDelay", 0x00010001,0x00000000
HKR,,"SPFunction"		,0x00010001,0x0054A500
HKR,,"SPScroll"			,0x00010001,0x00000002
HKR,,"UseIMECap"		,0x00010001,0x00000000
HKR,,"DragLock_TR_Emulation",	0x00010001,0x00000001
HKR,,"SetToBTN3_DEV",			0x00010001,0x00000001
HKR,,"Scroll_HV",				0x00010001,0x00000003
HKR,,"OldSetPostMsgInfo",		0x00010001,0x00000001
HKR,,"DisableDLTRE_RevCheck",	0x00010001,0x00000001
HKR,,"CustomFunction901",		0x00010001,0x00000001
HKR,,"EnablePostMBtnEvent",		0x00010001,0x00000001
HKR,,"FixedAlpsDeviceID",		0x00010001,0xFFFFFFFF
HKR,,"SeparateSPButton",		0x00010001,0x00000001
HKR,,"RecoveryBIODP_Enable", 	0x00010001,0x00000001
HKR,,"SP_M_DownUpMsg_Enable", 	0x00010001,0x00000001
HKR,,"SP_Scroll_Angle_Enable",	0x00010001,0x00000001
HKR,,"CornerTapEx_Enable",		0x00010001,0x00000001
HKR,,"CornerTapEx_UpperLeft_X",		0x00010001,0x00000032
HKR,,"CornerTapEx_UpperLeft_Y",		0x00010001,0x00000032
HKR,,"CornerTapEx_UpperRight_X",	0x00010001,0x00000032
HKR,,"CornerTapEx_UpperRight_Y",	0x00010001,0x00000032
HKR,,"Emulate5swGPby4swGP",			0x00010001,0x00000001
HKR,,"NotifiedPnPIDNumber",			0x00010001,0x00000000
HKR,,"TPOnOffStatus",				0x00010001,0x00000001
HKR,,"TPOnOffStatus_EnableAtPowerOn",		0x00010001,0x00000001

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

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

;// Wheel Srcoll Lines
HKCU,	%SetWheelScrollLines%,	WheelScrollLines,	0,	3

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


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

;
; Source file information
;

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

[SourceDisksNames]
1 = %DiskID%,,,

[SourceDisksFiles]
Apfiltr.sys		= 1,,
Vxdif.dll		= 1,,
Apoint.exe		= 1,,
Logo.bmp		= 1,,
ApntEx.exe		= 1,,
Apoint.dll		= 1,,
EzAuto.dll		= 1,,
ApWheel.dll		= 1,,
Ezcapt.exe		= 1,,
HidFind.exe		= 1,,
Gesture.bmp		= 1,,
ApintNSP.pop	= 1,,
ApintNJP.pop	= 1,,
ApintNGR.pop	= 1,,
ApintNFR.pop	= 1,,
ApintNUS.pop	= 1,,
ApintNCT.pop	= 1,,
ApintNCS.pop	= 1,,
ApintNIT.pop	= 1,,
Uninstap.exe	= 1,,
ApWelcom.exe	= 1,,
ApWelcom.ini	= 1,,
AH_2sw.chm		= 1,,
AH_4sw.chm		= 1,,
AH_5sw.chm		= 1,,
BackFord.bmp	= 1,,
NO_UL_PT.bmp	= 1,,
NO_UR_PT.bmp	= 1,,
Scr_r_pt.bmp	= 1,,
Scr_u_pt.bmp	= 1,,
UL_PT.bmp		= 1,,
UR_PT.bmp		= 1,,

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

Provider			= "NEC"							; Provider
Filter.SvcDesc		= "NEC NX PAD Filter Driver"	; *
Mfg.Desc			= "NEC"							; Manufacture
*AUI0200.DeviceDesc = "NX PAD"				; Device Name
*AUI0201.DeviceDesc = "NX PAD"				; Device Name

; Alps internals
Apoint_Path			= "Apoint2K"
DiskID				= "NEC NX PAD Driver for Windows 2000/XP Setup Disk"

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


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