Redirect USB keyboard to something

2009-03-16 Thread Guillaume Bouchard
Hello, I have an usb barcode reader that X recognize as a keyboard. But I want to create an application which work on the output from this barcode. With the actual solution, I need my apps and a specific entry field to have the focus, this is not an interesting solution because the event

Re: Redirect USB keyboard to something

2009-03-16 Thread James Cloos
If you are on linux and using Xorg's evdev driver for keyboard input, you can configure evdev to ignore that keyboard. Your app can, then, directly read that keyboard using the same kernel API evdev uses: char special files /dev/input/{1..31}. I don't know whether it is possible on other