[mythtv-users] Suggestions about this remote control

Paul Andreassen paulx at andreassen.com.au
Wed Jul 13 10:26:38 EDT 2005

On Mon, 11 Jul 2005 06:03 pm, ffrr wrote:
> kernel: input: USB HID v1.10 Keyboard [Twinhan Tech Remote Control] on 
> kernel: input: USB HID v1.10 Mouse [Twinhan Tech Remote Control] on 

> The keys all seem to have mappings.  For example, by watching in a
> terminal, I see that all the number keys map to the numbers 0 to 9 as
> expected.  Other keys are letters   -  Rewind is a lowercase 'i' and FF
> is an 'n' for example, and the play key seems to conveniently be an
> enter key.  Others are more obscure.
> Seems it should be possible to use it to control any app, but of course,
> I want to control MythTV.
> Any clues on how to remap the keys of this 'USB keyboard'?  Does linux
> have a standard mechanism for input devices like this?

Hi ffrr,

I hope I pronounced that right, is it some ET name?

I've written a binary patch which changes the keymaping for usb keyboards so 
the remote better matches MythTV. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: usbhid-twinhan.c
Type: text/x-csrc
Size: 6405 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20050714/b762fe76/usbhid-twinhan.c

More information about the mythtv-users mailing list