4-4 Chapter 4: Programming
Tonehardwareinterface:TheErrorToneusagecollectsatone
outputreportthatsoundsanimmediatetone.TheKeyClickusage
collectsatoneoutputreportthatsetsthesoundmadeforakey
click.TheunitsforDurationaremilliseconds.Thevolumeisavalue
betweenLogical_Minimum(silent)andLogical_Maximum(greatest
volume).ThetoneisanindexfromTable2:NoteNumbersand
Frequencies.
TheMSRinterface:TheMSRconformstotheUSBHIDstandard
forMSRsasdescribedintheHIDUsageTablesforPOS,Ver1.02,
see
http://www.usb.org/developers/hidpage.html#pos.
TheKeyMatrix:TheKeyMatrixreportcontainsanoverlayforthe
keyboardlook‐uptable.ItisorganizedinFPGAOffsetorder,and
containspairsof8‐bitusages,onepairperkeyposition.Valuesof
zeroproducenousagereport.Twodifferentusagesproducetwo
simultaneoususagesbeing
reported.Thenumberofpositionsis
givenbythereportdescriptor.
Programmable Key Matrix
Thekeyboardmatrixiscompletelyprogrammable,translatingbetween
akeyswitchphysicallocationandthekeydatareportedtothehostPC.
Throughthiskeyboardprovision,youcanswitchthenumerickeypad
layoutfromthedefaultcalculatorlayouttoatelephonelayoutby
organizingthekeyboardmatrixtomimiceithermode
ofoperation.
Note: Ifyouchangethenumerickeypadlayout,youmustalso
physicallyremoveandswapthekeycapsonthefirstandthirdrowsof
thekeypad.Thekeycodesforthenumerickeypadareidenticaltothe
IBMPS/2,101‐keykeyboard.