;*************************************************************************
;
;Copyright 2000-2011 3M. All rights reserved.
;
;Module Name: 	TwTouch.INF
;
;Abstract:	INF file installs MicroTouch Touch Screen driver
;
;*************************************************************************

[Version]
Signature="$WINDOWS NT$"
Class=HIDClass
ClassGUID={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%MMM%
DriverVer=11/16/2011, 7.13.7.0
CatalogFile=TwTouch.cat

[SourceDisksNames]
1 = %DiskId1%,,,

[DestinationDirs]
DefaultDestDir=12

[SourceDisksFiles]
TwTouch.sys   = 1,,
twhidkmdf.sys = 1,,

; ***********************************************************************
[Manufacturer]
%MMMTS%=MMMTS, NTx86, NTx86.6.1

;For XP and Vista
[MMMTS.NTx86]

;* This is the pseudo device used by the non-PnP serial bus driver *
%TwTouch.DeviceDescSerial%=TwTouch_Device,      PnP\TwTouch           ;Non-PnP Serial

;* These hardware IDs are for the EX USB controllers *
%TwTouch.DeviceDescEXUSB%=TwTouch_Device,     USB\VID_0596&PID_0001 ;USB EX
%TwTouch.DeviceDescEXUSBRom%=TwTouch_Device,  USB\VID_0596&PID_0002 ;USB EX fix code
%TwTouch.DeviceDescEXHID%=TwTouch_Device,     USB\VID_0596&PID_0003 ;USB EX HID

;* These hardware IDs are for the serial PnP controllers *
%TwTouch.DeviceDescRX4Serial%=TwTouch_Device, MSY0101               ;Ser PnP RX142/RX182
%TwTouch.DeviceDescRX5Serial%=TwTouch_Device, MSY0103               ;Ser PnP RX152
%TwTouch.DeviceDescDXSerial%=TwTouch_Device,  MSY0301               ;Ser PnP DX
%TwTouch.DeviceDescPXSerial%=TwTouch_Device,  MSY0503               ;Ser PnP 22" PX
%TwTouch.DeviceDescPXSerial%=TwTouch_Device,  MSY0505               ;Ser PnP 22" PX423 98-0003-3691-1
%TwTouch.DeviceDescPXSerial%=TwTouch_Device,  MSY0506               ;Ser PnP 32" PX453 98-0003-3691-1
%TwTouch.DeviceDescPXSerial%=TwTouch_Device,  MSY0507               ;Ser PnP 21.5" PX403 98-0003-3755-4
%TwTouch.DeviceDescPXSerial%=TwTouch_Device,  MSY050A               ;Ser PnP 18.5" PX System 98-0003-3824-8
%TwTouch.DeviceDescPXSerial%=TwTouch_Device,  MSY050B               ;Ser PnP 18.5" PX Monitor 98-0003-3734-9
%TwTouch.DeviceDescPXSerial%=TwTouch_Device,  MSY050C               ;Ser PnP 21.5" PX System 98-0003-3825-5
%TwTouch.DeviceDescPXSerial%=TwTouch_Device,  MSY050D               ;Ser PnP 21.5" PX Monitor 98-0003-3740-6
%TwTouch.DeviceDescPXSerial%=TwTouch_Device,  MSY050E               ;Ser PnP 23" PX 98-0003-3748-9
%TwTouch.DeviceDescPXSerial%=TwTouch_Device,  MSY050F               ;Ser PnP 24" PX 98-0003-3759-6
%TwTouch.DeviceDescPXSerial%=TwTouch_Device,  MSY0510               ;Ser PnP 32" PX 98-0003-3827-1
%TwTouch.DeviceDescPXSerial%=TwTouch_Device,  MSY0511               ;Ser PnP 27" PX 98-0003-3724-0
%TwTouch.DeviceDescPXSerial%=TwTouch_Device,  MSY0512               ;Ser PnP 27" PX 98-0003-3746-3
%TwTouch.DeviceDescPXSerial%=TwTouch_Device,  MSY0514               ;Ser PnP 27" PX 98-0003-3851-1
%TwTouch.DeviceDescPXSerial%=TwTouch_Device,  MSY0515               ;Ser PnP 18.5" PX 98-0003-3930-3
%TwTouch.DeviceDescPXSerial%=TwTouch_Device,  MSY0516               ;Ser PnP 21.5" PX 98-0003-3931-1
%TwTouch.DeviceDescPXSerial%=TwTouch_Device,  MSY0517               ;Ser PnP 24" PX 98-0003-3932-9
%TwTouch.DeviceDescPXSerial%=TwTouch_Device,  MSY0518               ;Ser PnP 27" PX 98-0003-3929-5

;* These hardware IDs are for the USB HID controllers *
%TwTouch.DeviceDescRX4USB%=TwTouch_Device,    USB\VID_0596&PID_0100 ;USB RX141/RX181
%TwTouch.DeviceDescRX5USB%=TwTouch_Device,    USB\VID_0596&PID_0102 ;USB RX151
%TwTouch.DeviceDescDXUSB%=TwTouch_Device,     USB\VID_0596&PID_0300 ;USB DX
%TwTouch.DeviceDescCX%=TwTouch_Device,        USB\VID_0596&PID_0400 ;USB CX
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_0500 ;USB 19" PX
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_0502 ;USB 22" PX
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_0504 ;USB PX431 98-0003-3733-1
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_0505 ;USB 22" PX423 98-0003-3691-1
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_0506 ;USB 32" PX453 98-0003-3691-1
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_0507 ;USB 21.5" PX403 98-0003-3755-4
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_0508 ;USB 24" PX421-01 98-0003-3693-7
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_0509 ;USB 21.5" PX421 98-0003-3692-9
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_050A ;USB 18.5" PX System 98-0003-3824-8
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_050B ;USB 18.5" PX Monitor 98-0003-3734-9
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_050C ;USB 21.5" PX System 98-0003-3825-5
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_050D ;USB 21.5" PX Monitor 98-0003-3740-6
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_050E ;USB 23" PX 98-0003-3748-9
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_050F ;USB 24" PX 98-0003-3759-6
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_0510 ;USB 32" PX 98-0003-3827-1
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_0511 ;USB 27" PX 98-0003-3724-0
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_0512 ;USB 27" PX 98-0003-3746-3
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_0513 ;USB 24" PX
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_0514 ;USB 27" PX 98-0003-3851-1
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_0515 ;USB 18.5" PX 98-0003-3930-3
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_0516 ;USB 21,5" PX 98-0003-3931-1
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_0517 ;USB 24" PX 98-0003-3932-9
%TwTouch.DeviceDescPXUSB%=TwTouch_Device,     USB\VID_0596&PID_0518 ;USB 27" PX 98-0003-3929-5

;For Windows 7
[MMMTS.NTx86.6.1]

;* This is the pseudo device used by the non-PnP serial bus driver *
%TwTouch.DeviceDescSerial%=TwTouch_Device.Win7, PnP\TwTouch           ;Non-PnP Serial

;* These hardware IDs are for the EX USB controllers *
%TwTouch.DeviceDescEXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0001 ;USB EX
%TwTouch.DeviceDescEXUSBRom%=TwTouch_Device.Win7,  USB\VID_0596&PID_0002 ;USB EX fix code
%TwTouch.DeviceDescEXHID%=TwTouch_Device.Win7,     USB\VID_0596&PID_0003 ;USB EX HID

;* These hardware IDs are for the serial PnP controllers *
%TwTouch.DeviceDescRX4Serial%=TwTouch_Device.Win7, MSY0101               ;Ser PnP RX142/RX182
%TwTouch.DeviceDescRX5Serial%=TwTouch_Device.Win7, MSY0103               ;Ser PnP RX152
%TwTouch.DeviceDescDXSerial%=TwTouch_Device.Win7,  MSY0301               ;Ser PnP DX
%TwTouch.DeviceDescPXSerial%=TwTouch_Device.Win7,  MSY0503               ;Ser PnP 22" PX
%TwTouch.DeviceDescPXSerial%=TwTouch_Device.Win7,  MSY0505               ;Ser PnP 22" PX423 98-0003-3691-1
%TwTouch.DeviceDescPXSerial%=TwTouch_Device.Win7,  MSY0506               ;Ser PnP 32" PX453 98-0003-3691-1
%TwTouch.DeviceDescPXSerial%=TwTouch_Device.Win7,  MSY0507               ;Ser PnP 21.5" PX403 98-0003-3755-4
%TwTouch.DeviceDescPXSerial%=TwTouch_Device.Win7,  MSY050A               ;Ser PnP 18.5" PX System 98-0003-3824-8
%TwTouch.DeviceDescPXSerial%=TwTouch_Device.Win7,  MSY050B               ;Ser PnP 18.5" PX Monitor 98-0003-3734-9
%TwTouch.DeviceDescPXSerial%=TwTouch_Device.Win7,  MSY050C               ;Ser PnP 21.5" PX System 98-0003-3825-5
%TwTouch.DeviceDescPXSerial%=TwTouch_Device.Win7,  MSY050D               ;Ser PnP 21.5" PX Monitor 98-0003-3740-6
%TwTouch.DeviceDescPXSerial%=TwTouch_Device.Win7,  MSY050E               ;Ser PnP 23" PX 98-0003-3748-9
%TwTouch.DeviceDescPXSerial%=TwTouch_Device.Win7,  MSY050F               ;Ser PnP 24" PX 98-0003-3759-6
%TwTouch.DeviceDescPXSerial%=TwTouch_Device.Win7,  MSY0510               ;Ser PnP 32" PX 98-0003-3827-1
%TwTouch.DeviceDescPXSerial%=TwTouch_Device.Win7,  MSY0511               ;Ser PnP 27" PX 98-0003-3724-0
%TwTouch.DeviceDescPXSerial%=TwTouch_Device.Win7,  MSY0512               ;Ser PnP 27" PX 98-0003-3746-3
%TwTouch.DeviceDescPXSerial%=TwTouch_Device.Win7,  MSY0514               ;Ser PnP 27" PX 98-0003-3851-1
%TwTouch.DeviceDescPXSerial%=TwTouch_Device.Win7,  MSY0515               ;Ser PnP 18.5" PX 98-0003-3930-3
%TwTouch.DeviceDescPXSerial%=TwTouch_Device.Win7,  MSY0516               ;Ser PnP 21.5" PX 98-0003-3931-1
%TwTouch.DeviceDescPXSerial%=TwTouch_Device.Win7,  MSY0517               ;Ser PnP 24" PX 98-0003-3932-9
%TwTouch.DeviceDescPXSerial%=TwTouch_Device.Win7,  MSY0518               ;Ser PnP 27" PX 98-0003-3929-5

;* These hardware IDs are for the USB HID controllers *
%TwTouch.DeviceDescRX4USB%=TwTouch_Device.Win7,    USB\VID_0596&PID_0100 ;USB RX141/RX181
%TwTouch.DeviceDescRX5USB%=TwTouch_Device.Win7,    USB\VID_0596&PID_0102 ;USB RX151
%TwTouch.DeviceDescDXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0300 ;USB DX
%TwTouch.DeviceDescCX%=TwTouch_Device.Win7,        USB\VID_0596&PID_0400 ;USB CX
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0500 ;USB 19" PX
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0502 ;USB 22" PX
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0504 ;USB PX431 98-0003-3733-1
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0505 ;USB 22" PX423 98-0003-3691-1
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0506 ;USB 32" PX453 98-0003-3691-1
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0507 ;USB 21.5" PX403 98-0003-3755-4
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0508 ;USB 24" PX421-01 98-0003-3693-7
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0509 ;USB 21.5" PX421 98-0003-3692-9
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_050A ;USB 18.5" PX System 98-0003-3824-8
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_050B ;USB 18.5" PX Monitor 98-0003-3734-9
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_050C ;USB 21.5" PX System 98-0003-3825-5
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_050D ;USB 21.5" PX Monitor 98-0003-3740-6
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_050E ;USB 23" PX 98-0003-3748-9
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_050F ;USB 24" PX 98-0003-3759-6
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0510 ;USB 32" PX 98-0003-3827-1
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0511 ;USB 27" PX 98-0003-3724-0
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0512 ;USB 27" PX 98-0003-3746-3
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0513 ;USB 24" PX
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0514 ;USB 27" PX 98-0003-3851-1
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0515 ;USB 18.5" PX 98-0003-3930-3
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0516 ;USB 21.5" PX 98-0003-3931-1
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0517 ;USB 24" PX 98-0003-3932-9
%TwTouch.DeviceDescPXUSB%=TwTouch_Device.Win7,     USB\VID_0596&PID_0518 ;USB 27" PX 98-0003-3929-5

;===============================================================
;  3M Touch for XP and Vista
;===============================================================
[TwTouch_Device.NT]
CopyFiles=Twtouch_Device.NT.Copy

[Twtouch_Device.NT.Copy]
TwTouch.sys
twhidkmdf.sys

[TwTouch_Device.NT.HW]
AddReg=TwTouch_Device.NT.HW.AddReg

[TwTouch_Device.NT.Services]
AddService = TwTouch,%SPSVCINST_ASSOCSERVICE%, TwTouch_Service_Inst
AddService = Twhidkmdf,, twhidkmdf_Service_Inst


[twhidkmdf_Service_Inst]
DisplayName    = %twhidkmdf.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\twhidkmdf.sys
LoadOrderGroup = PNP Filter


[TwTouch_Device.NT.HW.AddReg]
HKR,,"UpperFilters",0x00010000,twhidkmdf
HKLM,SYSTEM\CurrentControlSet\Services\TwTouch\Parameters,,,
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\TwTouch.sys"
HKR,,TypesSupported,0x00010001,7

;===============================================================
;  3M Touch for Win7
;===============================================================
[TwTouch_Device.Win7.NT]
CopyFiles=Twtouch_Device.Win7.NT.Copy

[Twtouch_Device.Win7.NT.Copy]
TwTouch.sys

[TwTouch_Device.Win7.NT.HW]
AddReg=TwTouch_Device.Win7.NT.HW.AddReg

[TwTouch_Device.Win7.NT.Services]
AddService = TwTouch,%SPSVCINST_ASSOCSERVICE%, TwTouch_Service_Inst


[TwTouch_Device.Win7.NT.HW.AddReg]
HKR,,"UpperFilters",0x00010000,mshidkmdf
HKLM,SYSTEM\CurrentControlSet\Services\TwTouch\Parameters,,,
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\TwTouch.sys"
HKR,,TypesSupported,0x00010001,7

; ***********************************************************************

[TwTouch_Service_Inst]
DisplayName    = %TwTouch.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\TwTouch.sys
LoadOrderGroup = Extended Base


[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
MMM = "3M"
MMMTS = "(3M devices)"
DiskId1 = "MT 7 Software Installation Media"
TwTouch.DeviceDescSerial = "3M MicroTouch Serial Sensor"
TwTouch.DeviceDescRX4Serial = "3M MicroTouch RX142/RX182 Serial Sensor"
TwTouch.DeviceDescRX5Serial = "3M MicroTouch RX152 Serial Sensor"
TwTouch.DeviceDescDXSerial = "3M MicroTouch DX Serial Sensor"
TwTouch.DeviceDescEXUSB = "3M MicroTouch EX USB Sensor"
TwTouch.DeviceDescEXUSBRom = "3M MicroTouch EX USB ROM Sensor"
TwTouch.DeviceDescEXHID = "3M MicroTouch EX HID Sensor"
TwTouch.DeviceDescCX = "3M MicroTouch CX USB Sensor"
TwTouch.DeviceDescRX4USB = "3M MicroTouch RX141/RX181 USB Sensor"
TwTouch.DeviceDescRX5USB = "3M MicroTouch RX151 USB Sensor"
TwTouch.DeviceDescDXUSB = "3M MicroTouch DX USB Sensor"
TwTouch.DeviceDescPXUSB = "3M MicroTouch PX USB Sensor"
TwTouch.DeviceDescPXSerial = "3M MicroTouch PX Serial Sensor"
TwTouch.SVCDESC = "3M MicroTouch Sensor"
mouclass.SvcDesc = "Mouse Class Driver"
MouseClassName = "Mice and other pointing devices"
twhidkmdf.SVCDESC="HID Class Shim for KMDF"
