Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

CuePie - Raspberry Pi and Cuecat get friendly

Build

gcc -o cuepie cuepie.c

Run

./cuepie /dev/input/event1

Cuepie assumes event0 if you don't give it an arguement. If your cuecat is the only usb input device plugged into your raspberry pi, this is most likely correct.

Outside of our current scope, you could set up udev rules to give the cuecat something more obvious like /dev/input/cuecat, then you never have to worry about what else gets plugged in.

Current Status

it gets scans correctly, and outputs them to stdout.

Hopeful endpoint

Service running on rPi that catches cuecat attach, and pumps barcodes scanned into a file/fifo/pipe to a program.

Liberally stolen from:

http://www.thelinuxdaily.com/2010/05/grab-raw-keyboard-input-from-event-device-node-devinputevent/

About

Cuecat and Raspberry Pi friendliness

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages