EasyManua.ls Logo

NCR RealPOS 5953 - NCR USB DynaKey Control ActiveX

NCR RealPOS 5953
100 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 4: Programming 4-11
NCR USB DynaKey Control
NCRUsbKeyBoardCtlisanActiveXcontrolthatcontainsamethodfor
settingthekeyclicksSetClicks,andamethodfordownloadingthekey
translationmatrixinformation,SetKeyMatrix.
TheSetClicksmethodexaminesallcurrentlyenumeratedHIDdevices,
findsthosewithaVendorIDequaltoNCR’sassignedVendorID
(0x0404).Among
allqualifieddevicesfound,eachdeviceissearched
foraKEY_CLICK_INFOfeaturereportthatcontainsVolume,Frequency,
andDurationusages.Whenamatchingdeviceisfound,thatdevice’s
productID(PID)isusedtolocatekeyclickvalueswithintheRegistry.
Thevaluesfoundintheregistryaresenttothe
deviceinthe
KEY_CLICK_INFOfeaturereport.
EachtimeSetClicksisinvoked,itreadsVolume,Frequency,andDuration
keyclickparametersfromtheregistry.Iftheseparametersarenot
foundintheregistry,defaultvaluesarewrittentotheregistry,and
thesedefaultvaluesareused.Thiscausestheregistryto
containthe
valuesmostrecentlysenttoNCRHIDKeyClickdevices.
ThedefaultvaluesforVolume,Frequency,andDuration,
SetUsbKeyClickare15,1318,and16,respectively.
TheSetKeyMatrixmethodexaminesallcurrentlyenumeratedHID
devices,findsthosewithaVendorIDequaltoNCR’sassignedVendor
ID(0x0404).Amongallqualified
devicesfound,eachdeviceis
searchedforaKEYBOARD_MAPfeaturereportthatcontainsanarray
ofKEY_MATRIX_USAGEusages,Whenamatchingdeviceisfound,
thatdevice’sPIDisusedtolocateKeyMatrixentriesintheRegistry.If
noKeyMatrixvaluesarefoundforthatspecificPID,noKey
Matrix
downloadisperformed.

Table of Contents

Related product manuals