From: Morten B. <lir...@mo...> - 2011-08-15 08:48:44
|
Hello. I've recently come across the situation where I wanted to inject 64-bit "internal" keycodes into lirc. And I've made a "inject" driver that per default listens to udp:127.0.0.1:8765 for 8 byte packages, and injects them as internal values. Then the real driver is a program that opens a usb device (I've been looking into the atmel/vusb for making my own remote receiver for [brand] remotes), and listens for packages, then sends them by udp to 127.0.0.1:8765. This is easier to develop, since driver is in userspace, and you can work against a "clean" lirc install. My other remote (until my [brand] project is done), which which pops up as 2 hid-devices (mouse & keyboard, which both sends KEY_* events: Play/Pause/Stop is mouse events digits is keyboard), is also easier to configure, just 2 running hidraw (included too) listeners that both inject into same lirc instance. Feel free to include / throw away the patch. Yours Morten Bøgeskov |