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

_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: [email protected]

Reply via email to