Handling Barcode Scanner Input From Zebra Device (TC51/56)

I have a Cordova app which will be using the Zebra TC51/56 device for input. The device has a hard button on each side which activates the barcode scanning laser.

The issue I'm having is that if I monitor for a keyup or keydown event the whole barcode doesn't get placed into the input box where I want it....only the 1st character.

I've noticed that if I use the Chrome debugger and put a breakpoint in the event listener so that is stops then I get the whole barcode. I'm using SAP UI5/Fiori components as well if that makes any difference.

Has anyone dealt with input from the Zebra devices before?

2 answers