I recently acquired a Metrologic Barcode scanner (USB port), as everyone already knows it works as a keyboard emulator out of the box.
How do I configure the scanner and
I would guess the easiest way to do this would be to intercept key-presses at a higher level, such as PreviewKeyDown in winforms (or use KeyDown
on the form, set KeyPreview
to true
, and use e.SuppressKeyPress
to stop the key going down to the controls). There might be a direct API to the device; there might not.