USB Mouse Driver

This code is the result of a Tech-Talk posting from Miroslav Mihaylov at the University of Chicago who wanted to add a simple hardware switch to an EPICS soft IOC. I suggested using a USB mouse with the switch wired across one of the buttons.

The code is very preliminary. I'd be happy to hear suggestions from someone with USB/HID expertise.

Although this code uses the cross-platform libusb library it is likely to work well only under Linux as explained in the libusb FAQ.


The source code for this EPICS device support can be found here:

Eric Norum
Lawrence Berkeley National Laboratory
March 6th, 2014