for hooking inputs of USB Barcode Reader
This program for hooking inputs of USB Barcode Readers which sends scanned data as keyboard input in ubuntu.
Configure:
make configure
Compile:
make
Config File:
Available keyboard inputs:
grep -E 'Name|Handlers|EV' /proc/bus/input/devices | grep 'EV=120013' -B2
Output can be:
N: Name="Digital Media Keyboard"
H: Handlers=sysrq kbd event5
B: EV=120013N: Name="USB Reader With Keyboard USB Reader With Keyboard"
H: Handlers=sysrq kbd event14
B: EV=120013
Usage:
sudo usb-kb-reader