Operating a USB-HID Barcode Scanner
Artur Skawina
art.08.09 at gmail.com
Mon Sep 6 07:20:29 PDT 2010
On 09/06/10 13:50, Klaus Gradinger wrote:
> The Problem is that everything that is scanned just gets written (in plain text) do stdin. I'm currently developing a Java Application where that behavior is unacceptable (because of the lack of an input field). A solution, which i would prefer, would be if all text (already translated from events to plain text) coming from the reader would get redirected into a named pipe or something similar. Is there any way to achieve this? The second solution which I don't prefer at all would be to open the /dev/input/... scanner device within Java, read the byte stream and parse the key down / key up events myself.
>
> Target Platform is Ubuntu 10.04 Desktop.
>
> I'd highly appreciate it, if someone could point me in the right direction.
EVIOCGRAB
More information about the xorg
mailing list