I want to read the input (up to 4) of keyboards attached to a computer in my own application.
My situation
For a small event, I would like to connect three USB barcode scanners to a laptop (with keyboard)
By default, a barcode scanner just works like a keyboard. If he scans the barcode, he simply enters the number and presses the return key. It is great and works out of the box.
For my application, three barcode scanners will work simultaneously and may conflict with the default application. There should also be an opinion to enter the barcode manually on the laptop keyboard.
purpose
Therefore, I need to read the input of four keyboards with my special application (C ++ or python) and process them separately.
Environment
My special environment is Ubuntu 11.04 on a laptop with three barcode scanners. The application is written either in C ++ or python (depending on the answers to this question).
Thanks in advance for any hint or reply.
Benjamin schulte
source share