[libhid-discuss] reading from a barcode scanner that acts like a keyboard

Peter Stuge stuge-libhid at cdy.org
Mon Nov 6 05:17:23 CET 2006


On Mon, Nov 06, 2006 at 10:53:11AM +0800, Brice Rebsamen wrote:
> I have a USB barcode scanner that acts like a keyboard: whenever a
> barcode is read it sends the code where the keyboard would normally
> write. I am writing some code in C to read from the scanner.

Is it impossible for you to take advantage of this fact?

Ie. just read from stdin or /dev/input/*


//Peter



More information about the libhid-discuss mailing list