4-14 Chapter 4: Programming
NCR USB DynaKey Control Data Capture Registry Values
NCRDataCaptureRegistryvaluesappearundertheregistrykey:
[HKEY_LOCAL_MACHINE\SOFTWARE\NCR\NCRUsbKeyboardCtl\DataCa
pture]
"DcapControl"="10 (Hex destination(s): 1=DCap App,
2=Debugger, 4=File; 10/20/40 for immediate)"
"DcapFile"="C:\\NcrDataCap.log"
"DcapFileMax"="0 (Max KB of data cap file)"
"DcapMask"="00000003 (Hex mask of events to capture)"
"DcapTime"="1F00 (Hex time option(s): 100=m:s, 300=h:m:s,
700=m/d h:m:s; 800+digits=millisec; 1000=threadid)"
"DcapVersion"="1.1.3"
"DcapLinePrefix"="NCRUsbKeyboardCtl "
SetDcapMaskto0x01toreceiveonlyErrormessages.Setto0x02or
higherreceivesallmessages.
Set USB Key Matrix Application
SetUsbKeyMatrixisaWindowsapplicationfortheDesktopO/S
versions(Windows98se,Windows2000)thatusesthe
NCRUsbKeyboardCtlcontroltosetakeyboardmatrixmap.The
applicationoperatesasamemory‐residentbackground
processfora
durationthatmaybespecifiedonthecommandline.Ifnodurationis
specified,theapplicationremainsresidentuntilterminatedbyuser
action.Whileresident,theapplicationreceivesdevice‐attachment
notificationsforHIDdevices,andwhentheseare received, invokes
theNCRUsbKeyboardCtlcontroltosetthe keyboardmatrix
map.
Command‐lineparametersmayincludeavaluefortheruntime
duration.Ifspecified,theapplicationremainsresidentonlyforthe
requestedduration.Thispermitstheapplicationtobeusedonly
duringdefinedeventssuchassystemstart‐up,andafterwhichthe
applicationwillnolongerremainresidentin
memory.Thecommand‐
lineparametersmayalsospecifythatabackgroundmemory‐resident
instanceoftheapplicationshouldbeterminated.Inthiscase,the
applicationonlyterminatesthebackgroundinstance,anddoesnot
remainresidentitselforinvokethecontroltosetthekeyboardmatrix
map.