CyberLink Remote Control

README

Change keys from a CyberLink and maybe others remote controls.

The CyberLink IR receiver is recognized as two simple USB keyboard (I don't know 
why two) and one mouse.

Kernel Log:
kernel: input: TopSeed Tech Corp. USB IR Combo Device  as /class/input/input3
kernel: input,hidraw0: USB HID v1.00 Keyboard [TopSeed Tech Corp. USB IR Combo Device ] on usb-0000:00:02.1-3
kernel: input: TopSeed Tech Corp. USB IR Combo Device  as /class/input/input4
kernel: input,hiddev96,hidraw1: USB HID v1.00 Mouse [TopSeed Tech Corp. USB IR Combo Device ] on usb-0000:00:02.1-3


With the default, not really useful (for me) keycodes are assigned.
For example the the red button has the keycode KEY_F15 (389), green KEY_F17 
(391), yellow KEY_MEDIA (226), blue KEY_VIDEO (393). (The funny thing is: 
xev doesn't report these keys.)

Remapping with keycodes and scancodes doesn't work because USB keyboards have no 
scancodes. A good explanation you can find on http://lkml.org/lkml/2006/6/9/307
(Offline Copy New_way_of_setting_keycodes_to_scancodes).

With this program you set your own keycodes. The default mapping is for MythTv.
The change it, just edit keys.h and recompile the package.

See the file NEWS for changes and updates.

See the file INSTALL for compilation and installation instructions.

The source code of the program is available under
  http://twe.awardspace.com/cyberlink/

N O T E:

  The program won't work with kernels newer than 2.6.24 !
  cyberlinkusb will work: http://linux.thaj.net63.net/cyberlinkusb/

W A R N I N G: 

  This is my first program written for Linux !

Feel free to vist the web site
  http://twe.awardspace.com/cyberlink/
  
or send me a mail
  thaj <at> users dot sourceforge.net