You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
i have a problem with an MT65 device.
this is my basic installation:
` onScan.attachTo(document, {
suffixKeyCodes: [13], // enter-key expected at the end of a scan
reactToPaste: true, // Compatibility to built-in scanners in paste-mode (as opposed to keyboard-mode)
onScan: function(sCode, iQty) { // Alternative to document.addEventListener('scan')
console.log('Scanned: ' + iQty + 'x ' + sCode);
},
onKeyDetect: function(iKeyCode){ // output all potentially relevant key events - great for debugging!
console.log('Pressed: ' + iKeyCode);
}
});
// Simulate a scan programmatically - e.g. to test event handlers
onScan.simulate(document, '1234567890123');
`
the console shows the code of simulation but when i scan with device i see only "key pressed: 13" .
what is my mistake?
thanks a lot
The text was updated successfully, but these errors were encountered:
Hello,
I have the same issue with my device which is tablet Senter ST927 with built-in scanner Zebra SE470. Senter ST927 is a device running on Android 9. Onscan doesn't seem to catch any onScan event when testing in playground. Does anyone overpassed such issue?
Hello,
You can solve this issue by Enableing “Send Characters as Events” option at the built-in scanner device.
For Zebra Devices you can found this option at "Keystroke output plugin → Key event options → Send Characters
as Events (checkbox)" Reference
Hi,
i have a problem with an MT65 device.
this is my basic installation:
the console shows the code of simulation but when i scan with device i see only "key pressed: 13" .
what is my mistake?
thanks a lot
The text was updated successfully, but these errors were encountered: