;======================================================
;                Stylus Registry Key
;======================================================

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
    "DriverName"      = "tchproxy.dll"
    "CalibrationData" = "2048,2048 205,205 3891,205 3891,3891 205,3891"
    "CalibMode"       = dword:5
    "MaxCalError"     = dword:40

[HKEY_LOCAL_MACHINE\System\GWE\TouchProxy]
    "tchcaldll"="tchcaldll.dll"

;------------------------------
; Stream Interface
;------------------------------

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Touch]
   "Dll"        = "pm-tchdrv.dll"
   "Prefix"     = "TCH"
   "Index"      = dword:1
   "Order"      = dword:2
   "Flags"      = dword:8  ; DEVFLAGS_NAKEDENTRIES
   "Priority256"= dword:6D ; touch ist priority = 109
   "IClass"     = multi_sz:"{25121442-08CA-48dd-91CC-BFC9F790027C}",
                           "{7119776D-9F23-4e4e-9D9B-9AE962733770}"
   "ManualWake" = dword:1  ; Disable touch when wake up system.

IF PMT_SERIAL

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Touch\COM2]
;   uncomment only one of the Model settings   
    "Model"      = dword:3500 ; PenMount P2
;   "Model"      = dword:6000 ; PenMount 6000
;   "Model"      = dword:9000 ; PenMount 9000

;   uncomment only one of the BaudRate settings   
    "BaudRate"   = dword:9600 ; Decimal 38400 bps
;   "BaudRate"   = dword:4B00 ; Decimal 19200 bps
;   "BaudRate"   = dword:2580 ; Decimal 9600  bps

ENDIF

IF PMT_I2C

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Touch\I2C2]
	"Dll"       = "pm-bsp.dll"
	"Model"     = dword:3500 ; PenMount P2
	"SlaveAddr" = dword:38
;	"IntrPort"  = dword:2
;	"IntrPin"   = dword:7

ENDIF

;======================================================
;             PenMount USB Registry Key
;======================================================
IF PMT_USB

;------------------------------
; USB Client Driver
;------------------------------

[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\5345\Default\3\PenMount]
   "Dll" = "pm-tchdrv.dll"
   
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\4612_39320\Default\3\PenMount]
   "Dll" = "pm-tchdrv.dll"

ENDIF
