;------------------------------------------------------------------------------
;     Nmouse.inf
;     Newmentech Mouse Setup Information File For Windows 2000/XP/XP-x64
;     Copyright (c) 2001,2006 Newmentech Co.,Ltd.
;------------------------------------------------------------------------------
[Version]
Signature="$Windows NT$"
Class=Mouse
Provider=%Mfg%
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
DriverVer=08/16/2006,5.12.3032.8

[SourceDisksNames]
51=%DISK_NAME%,,

[SourceDisksFiles]
Nmfilter.sys=51
Nmusbprt.sys=51
Nmps2prt.sys=51
Nmfltx64.sys=51
Nmusbx64.sys=51
Nmps2x64.sys=51

[DestinationDirs]
DefaultDestDir=12      ; DIRID_DRIVERS
Nmfilter.CopyFiles=12   
Nmusbprt.CopyFiles=12
Nmps2prt.CopyFiles=12
Nmfltx64.CopyFiles=12  
Nmusbx64.CopyFiles=12
Nmps2x64.CopyFiles=12

[ControlFlags]
ExcludeFromSelect=*PNP0F1C

; Manufacturer Section
;------------------------------------------------------------------------------
[Manufacturer]
%Mfg%=Mfg,NTamd64

[Mfg]
;--------------------------------------------------------------Device ID strings
%NMM0004.DevDesc%=I8042_Mouse_Inst,NMM0004,*PNP0F13
%BIOS\NMM0004.DevDesc%=I8042_Mouse_Inst,BIOS\*PNP0F13,*PNP0F13
%ROOT\NMM0004.DevDesc%=I8042_Mouse_Inst,ROOT\*PNP0F13,*PNP0F13
%PNP0F13.DevDesc%=I8042_Mouse_Inst,*PNP0F13,ACPI\PNP0F13                    
%PNP0F03.DevDesc%=I8042_Mouse_Inst,*PNP0F03,ACPI\PNP0F03                   
%PNP0F0B.DevDesc%=I8042_Mouse_Inst,*PNP0F0B,ACPI\PNP0F0B                    
%PNP0F0E.DevDesc%=I8042_Mouse_Inst,*PNP0F0E,ACPI\PNP0F0E                    
%PNP0F12.DevDesc%=I8042_Mouse_Inst,*PNP0F12,ACPI\PNP0F12                    
%PNP0F1C.DevDesc%=I8042_Mouse_Inst,*PNP0F1C,ACPI\PNP0F1C   
%HID\VID_09DA&PID_0018.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_09DA&PID_0018
%HID\VID_09DA&PID_001A.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_09DA&PID_001A
%HID\VID_12C9&PID_0001.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_12C9&PID_0001
%HID\VID_0680&PID_0002.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_0680&PID_0002
%HID\VID_04FC&PID_0003.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_04FC&PID_0003
%HID\VID_04FC&PID_0005.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_04FC&PID_0005
%HID\VID_04FC&PID_0015.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_04FC&PID_0015
%HID\VID_04FC&PID_00C5.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_04FC&PID_00C5
%HID\VID_1267&PID_0201.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_1267&PID_0201
%HID\VID_04B4&PID_0606.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_04B4&PID_0606
%HID\VID_B912&PID_0600.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_B912&PID_0600
%HID\VID_0458&PID_002E.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_0458&PID_002E
%HID\VID_062A&PID_0000.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_062A&PID_0000
%HID\VID_093A&PID_2500.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_093A&PID_2500
%HID\VID_0957&PID_0006.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_0957&PID_0006
%HID\VID_0419&PID_0501&COL02.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_0419&PID_0501&COL02
%HID\VID_04CF&PID_0022&MI_01&COL01.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_04CF&PID_0022&MI_01&COL01
%HID\VID_0518&PID_0001&MI_01&COL01.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_0518&PID_0001&MI_01&COL01
%HID\VID_0518&PID_0004&COL03.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_0518&PID_0004&COL03
%HID\VID_045E&PID_008C&COL01.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_045E&PID_008C&COL01
%HID\VID_0461&PID_4D32&COL01.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_0461&PID_4D32&COL01
%HID\VID_04FC&PID_0055&COL01.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_04FC&PID_0055&COL01


[Mfg.NTamd64]
;--------------------------------------------------------------Device ID strings
%NMM0004.DevDesc%=I8042_Mouse_Inst,NMM0004,*PNP0F13
%BIOS\NMM0004.DevDesc%=I8042_Mouse_Inst,BIOS\*PNP0F13,*PNP0F13
%ROOT\NMM0004.DevDesc%=I8042_Mouse_Inst,ROOT\*PNP0F13,*PNP0F13
%PNP0F13.DevDesc%=I8042_Mouse_Inst,*PNP0F13,ACPI\PNP0F13                    
%PNP0F03.DevDesc%=I8042_Mouse_Inst,*PNP0F03,ACPI\PNP0F03                   
%PNP0F0B.DevDesc%=I8042_Mouse_Inst,*PNP0F0B,ACPI\PNP0F0B                    
%PNP0F0E.DevDesc%=I8042_Mouse_Inst,*PNP0F0E,ACPI\PNP0F0E                    
%PNP0F12.DevDesc%=I8042_Mouse_Inst,*PNP0F12,ACPI\PNP0F12                    
%PNP0F1C.DevDesc%=I8042_Mouse_Inst,*PNP0F1C,ACPI\PNP0F1C   
%HID\VID_09DA&PID_0018.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_09DA&PID_0018
%HID\VID_09DA&PID_001A.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_09DA&PID_001A
%HID\VID_12C9&PID_0001.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_12C9&PID_0001
%HID\VID_0680&PID_0002.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_0680&PID_0002
%HID\VID_04FC&PID_0003.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_04FC&PID_0003
%HID\VID_04FC&PID_0005.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_04FC&PID_0005
%HID\VID_04FC&PID_0015.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_04FC&PID_0015
%HID\VID_04FC&PID_00C5.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_04FC&PID_00C5
%HID\VID_1267&PID_0201.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_1267&PID_0201
%HID\VID_04B4&PID_0606.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_04B4&PID_0606
%HID\VID_B912&PID_0600.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_B912&PID_0600
%HID\VID_0458&PID_002E.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_0458&PID_002E
%HID\VID_062A&PID_0000.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_062A&PID_0000
%HID\VID_093A&PID_2500.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_093A&PID_2500
%HID\VID_0957&PID_0006.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_0957&PID_0006
%HID\VID_0419&PID_0501&COL02.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_0419&PID_0501&COL02
%HID\VID_04CF&PID_0022&MI_01&COL01.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_04CF&PID_0022&MI_01&COL01
%HID\VID_0518&PID_0001&MI_01&COL01.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_0518&PID_0001&MI_01&COL01
%HID\VID_0518&PID_0004&COL03.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_0518&PID_0004&COL03
%HID\VID_045E&PID_008C&COL01.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_045E&PID_008C&COL01
%HID\VID_0461&PID_4D32&COL01.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_0461&PID_4D32&COL01
%HID\VID_04FC&PID_0055&COL01.DeviceDesc%=USBHID_Mouse_Inst, HID\VID_04FC&PID_0055&COL01

; Install Sections
; Newmentech USB Port Mouse For Windows XP x64 edition
;------------------------------------------------------------------------------
[USBHID_Mouse_Inst.NTamd64]
Include=msmouse.inf
Copyfiles=Nmusbx64.CopyFiles,Nmfltx64.CopyFiles

[USBHID_Mouse_Inst.NTamd64.Services]
Include=msmouse.inf
AddService=mouclass,,mouclass_Service_Inst, mouclass_EventLog_Inst          ; Class Driver
AddService=Nmusbprt,0x00000002,Nmusbx64_Service_Inst,Nmusbx64_EventLog_Inst ; Hid Driver
AddService=Nmfilter,,Nmfltx64_Service_Inst  

[Nmusbx64.CopyFiles]
Nmusbx64.sys

[Nmfltx64.CopyFiles]
Nmfltx64.sys

[Nmusbx64_Service_Inst]
DisplayName    = %HidMouse.SvcDesc%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 0               ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Pointer Port
ServiceBinary  = %12%\Nmusbx64.sys

[Nmusbx64_EventLog_Inst]
AddReg=Nmusbx64_EventLog_AddReg

[Nmusbx64_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\Nmusbx64.sys"
HKR,,TypesSupported,0x00010001,7

[Nmfltx64_Service_Inst]
DisplayName    = %Nmfilter.SvcDesc%
ServiceType    = 1             ; SERVICE_KERNEL_DRIVER
StartType      = 1             ; SERVICE_SYSTEM_START
ErrorControl   = 0             ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Pointer Class
ServiceBinary  = %12%\Nmfltx64.sys


; Install Sections
; Newmentech USB Port Mouse For Windows 2000/XP
;------------------------------------------------------------------------------
[USBHID_Mouse_Inst.NT]
Include=msmouse.inf
Copyfiles=Nmusbprt.CopyFiles,Nmfilter.CopyFiles

[USBHID_Mouse_Inst.NT.Services]
Include=msmouse.inf
AddService=mouclass,,mouclass_Service_Inst, mouclass_EventLog_Inst          ; Class Driver
AddService=Nmusbprt,0x00000002,Nmusbprt_Service_Inst,Nmusbprt_EventLog_Inst ; Hid Driver
AddService=Nmfilter,,Nmfilter_Service_Inst  

[Nmusbprt.CopyFiles]
Nmusbprt.sys

[Nmfilter.CopyFiles]
Nmfilter.sys

[Nmusbprt_Service_Inst]
DisplayName    = %HidMouse.SvcDesc%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 0               ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Pointer Port
ServiceBinary  = %12%\Nmusbprt.sys

[Nmusbprt_EventLog_Inst]
AddReg=Nmusbprt_EventLog_AddReg

[Nmusbprt_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\Nmusbprt.sys"
HKR,,TypesSupported,0x00010001,7

[Nmfilter_Service_Inst]
DisplayName    = %Nmfilter.SvcDesc%
ServiceType    = 1             ; SERVICE_KERNEL_DRIVER
StartType      = 1             ; SERVICE_SYSTEM_START
ErrorControl   = 0             ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Pointer Class
ServiceBinary  = %12%\Nmfilter.sys

; Newmentech PS/2 Port Mouse For Windows XP x64 edition
;------------------------------------------------------------------------------
[I8042_Mouse_Inst.NTamd64]
Include=msmouse.inf
Needs=PS2_Inst
CopyFiles=Nmps2x64.CopyFiles

[I8042_Mouse_Inst.NTamd64.Services]
AddService = Nmps2prt,,Nmps2x64_Service_Inst
Include=msmouse.inf
Needs=PS2_Inst.Services

[I8042_Mouse_Inst.NTamd64.HW]
DelReg=I8042_Mouse_Inst.NT.HW.DelReg
AddReg=I8042_Mouse_Inst.NT.HW.AddReg
Include=msmouse.inf
Needs=PS2_Inst.HW

[I8042_Mouse_Inst.NTamd64.HW.AddReg]
HKR,,"UpperFilters",0x00010000,"Nmps2prt"
HKR,,"EnableWheelDetection",0x00010003,2
HKR,,"MouseInitializePolled",0x00010003,0
HKR,,"DisableInitializePolledUI",0x00010003,1 
HKR,,"SampleRate",0x00010003,100

[I8042_Mouse_Inst.NTamd64.HW.DelReg]
HKR,,UpperFilters
HKR,,EnableWheelDetection
HKR,,MouseInitializePolled
HKR,,DisableInitializePolledUI
HKR,,SampleRate

[Nmps2x64.CopyFiles]
Nmps2x64.sys

[Nmps2x64_Service_Inst]
DisplayName    = %PS2Mouse.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Pointer Port
ServiceBinary  = %12%\Nmps2x64.sys

; Newmentech PS/2 Port Mouse For Windows 2000/XP
;------------------------------------------------------------------------------
[I8042_Mouse_Inst.NT]
Include=msmouse.inf
Needs=PS2_Inst
CopyFiles=Nmps2prt.CopyFiles

[I8042_Mouse_Inst.NT.Services]
AddService = Nmps2prt,,Nmps2prt_Service_Inst
Include=msmouse.inf
Needs=PS2_Inst.Services

[I8042_Mouse_Inst.NT.HW]
DelReg=I8042_Mouse_Inst.NT.HW.DelReg
AddReg=I8042_Mouse_Inst.NT.HW.AddReg
Include=msmouse.inf
Needs=PS2_Inst.HW

[I8042_Mouse_Inst.NT.HW.AddReg]
HKR,,"UpperFilters",0x00010000,"Nmps2prt"
HKR,,"EnableWheelDetection",0x00010003,2
HKR,,"MouseInitializePolled",0x00010003,0
HKR,,"DisableInitializePolledUI",0x00010003,1 
HKR,,"SampleRate",0x00010003,100

[I8042_Mouse_Inst.NT.HW.DelReg]
HKR,,UpperFilters
HKR,,EnableWheelDetection
HKR,,MouseInitializePolled
HKR,,DisableInitializePolledUI
HKR,,SampleRate

[Nmps2prt.CopyFiles]
Nmps2prt.sys

[Nmps2prt_Service_Inst]
DisplayName    = %PS2Mouse.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Pointer Port
ServiceBinary  = %12%\Nmps2prt.sys

; User Visible Strings
;------------------------------------------------------------------------------
[Strings]
Mfg="Newmentech"

NMM0004.DevDesc="Newmentech PS/2 Port Mouse"
BIOS\NMM0004.DevDesc="Newmentech PS/2 Port Mouse"
ROOT\NMM0004.DevDesc="Newmentech PS/2 Port Mouse"
PNP0F13.DevDesc="Newmentech PS/2 Port Mouse"
PNP0F03.DevDesc="Newmentech PS/2 Port Mouse"
PNP0F12.DevDesc="Newmentech PS/2 Port Mouse"
PNP0F0E.DevDesc="Newmentech PS/2 Port Mouse"
PNP0F0B.DevDesc="Newmentech PS/2 Port Mouse"
PNP0F1C.DevDesc="Newmentech PS/2 Port Mouse"

HID\VID_09DA&PID_0018.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_09DA&PID_001A.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_12C9&PID_0001.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_0680&PID_0002.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_04FC&PID_0003.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_04FC&PID_0005.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_04FC&PID_0015.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_04FC&PID_00C5.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_1267&PID_0201.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_04B4&PID_0606.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_B912&PID_0600.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_0458&PID_002E.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_062A&PID_0000.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_093A&PID_2500.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_0957&PID_0006.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_0419&PID_0501&COL02.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_04CF&PID_0022&MI_01&COL01.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_0518&PID_0001&MI_01&COL01.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_0518&PID_0004&COL03.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_045E&PID_008C&COL01.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_0461&PID_4D32&COL01.DeviceDesc="Newmentech USB Port Mouse"
HID\VID_04FC&PID_0055&COL01.DeviceDesc="Newmentech USB Port Mouse"

PS2Mouse.SvcDesc="Newmentech PS/2 Port Mouse Driver"
HidMouse.SvcDesc="Newmentech HID-compliant Mouse Driver"
Nmfilter.SvcDesc="Newmentech Mouse Filter Driver"

DISK_NAME="Newmentech Mouse Driver Install Disk"

