[mythtv-users] different key remappings for different keyboards?

Paul Bender pebender at san.rr.com
Tue Feb 9 01:29:29 UTC 2010


On 2/8/2010 4:11 PM, j2u4 j2u4 wrote:
> On 02/08/2010 10:01:54 PM, Michael T. Dean wrote:
>  > This is the entire reason LIRC was invented.
>
> This remote appears as a normal keyboard,* not as an IR device...
> Maybe I don't understand LIRC -- does it control normal usb input
> devices (mouse and keyboard) as well as IR controllers?
>
> -j
>
> * actually, it appears as two devices, one is a keyboard, and the
> other is a mouse. It's quite the nice little jobber.

LIRC handles many device types, including input devices. The LIRC 
daemon's configuration file (lircd.conf) file can remap the KEY_* and 
BTN_* events from an input device, so it can be easily used to do the 
mapping you want. Alternatively, the mapping can be done from within the 
LIRC client configuration file (lircrc) based on both device type and 
application.

Also, the LIRC CVS version handles forwarding mouse events to a mouse 
device created using uinput. As a result, it can easily split out the 
BTN_*, REL_* and ABS_* events so they can be handled by something other 
than LIRC.


More information about the mythtv-users mailing list