On Thu, May 07, 2015 at 02:40:59PM +0200, ludovic coues wrote: > I wanted to know if anyone get either usbhidctl(1) or usbhidaction(1) > working and if so for which usage.
I use usbhidctl(1) for giving presentations. My laptop is shipped with an IR remote control: uhidev3 at uhub3 port 2 configuration 1 interface 0 "Apple Computer, Inc. IR Receiver" rev 2.00/1.10 addr 2 which I use for pdf presentations so I don't have to be near my laptop all the time. I do $ usbhidctl -f 3 -l and pipe the output (there are 4 bytes of interest) to a simple-minded parser which then sends key strokes to mupdf(1) for navigating the pdf via xdotool(1).