linux/drivers/media/rc/keymaps
Anssi Hannula 9d454d48eb [media] ati_remote: add support for Medion X10 Digitainer remote
Add support for another Medion X10 remote. This was apparently
originally used with the Medion Digitainer box, but is now sold
separately without any Digitainer labeling.

A peculiarity of this remote is a scrollwheel in place of up/down
buttons. Each direction is mapped to 8 different scancodes, each
corresponding to 1..8 notches, allowing multiple notches to the same
direction to be transmitted in a single scancode. The driver transforms
the multi-notch scancodes to multiple events of the single-notch
scancode.
(0x70..0x77 = 1..8 notches down, 0x78..0x7f = 1..8 notches up)

Since the scrollwheel scancodes are the same that are used for mouse on
some other X10 (ati_remote) remotes, the driver will now check whether
the active keymap has a keycode defined for the single-notch scancode
when a mouse/scrollwheel scancode (0x70..0x7f) is received. If set,
scrollwheel is assumed, otherwise mouse is assumed.

This remote ships with a different receiver than the already supported
Medion X10 remote, but they share the same USB ID. The only difference
in the USB descriptors is that the Digitainer receiver has the Remote
Wakeup bit set in bmAttributes of the Configuration Descriptor.
Therefore that is used to select the default keymap.

Thanks to Stephan Raue from OpenELEC (www.openelec.tv) for providing me
both a Medion X10 Digitainer remote+receiver and an already supported
Medion X10 remote+receiver. Thanks to Martin Beyss for providing some
useful information about the remote (including the "Digitainer" name).
This patch has been tested by both of them and myself.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Tested-by: Stephan Raue <stephan@openelec.tv>
Tested-by: Martin Beyss <Martin.Beyss@rwth-aachen.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-04-11 02:05:46 -03:00
..
Kconfig [media] rc: rename the remaining things to rc_core 2010-12-29 08:16:50 -02:00
Makefile [media] ati_remote: add support for Medion X10 Digitainer remote 2012-04-11 02:05:46 -03:00
rc-adstech-dvb-t-pci.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-alink-dtu-m.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-anysee.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-apac-viewcomp.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-asus-pc39.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-ati-tv-wonder-hd-600.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-ati-x10.c [media] ati_remote: switch to single-byte scancodes 2011-12-11 10:51:59 -02:00
rc-avermedia-a16d.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-avermedia-cardbus.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-avermedia-dvbt.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-avermedia-m135a.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-avermedia-m733a-rm-k6.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-avermedia-rm-ks.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-avermedia.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-avertv-303.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-azurewave-ad-tu700.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-behold-columbus.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-behold.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-budget-ci-old.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-cinergy-1400.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-cinergy.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-dib0700-nec.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-dib0700-rc5.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-digitalnow-tinytwin.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-digittrade.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-dm1105-nec.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-dntv-live-dvb-t.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-dntv-live-dvbt-pro.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-em-terratec.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-encore-enltv2.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-encore-enltv-fm53.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-encore-enltv.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-evga-indtube.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-eztv.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-flydvb.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-flyvideo.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-fusionhdtv-mce.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-gadmei-rm008z.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-genius-tvgo-a11mce.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-gotview7135.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-hauppauge.c Merge tag 'v3.2-rc2' into staging/for_v3.3 2011-11-23 19:42:09 -02:00
rc-imon-mce.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-imon-pad.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-iodata-bctv7e.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-it913x-v1.c [media] IT913X Version 1 and Version 2 keymaps 2012-02-14 14:07:46 -02:00
rc-it913x-v2.c [media] IT913X Version 1 and Version 2 keymaps 2012-02-14 14:07:46 -02:00
rc-kaiomy.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-kworld-315u.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-kworld-pc150u.c [media] Add support for KWorld PC150-U ATSC hybrid tuner card 2012-03-08 11:01:25 -03:00
rc-kworld-plus-tv-analog.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-leadtek-y04g0051.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-lirc.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-lme2510.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-manli.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-medion-x10-digitainer.c [media] ati_remote: add support for Medion X10 Digitainer remote 2012-04-11 02:05:46 -03:00
rc-medion-x10.c [media] ati_remote: switch to single-byte scancodes 2011-12-11 10:51:59 -02:00
rc-msi-digivox-ii.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-msi-digivox-iii.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-msi-tvanywhere-plus.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-msi-tvanywhere.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-nebula.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-nec-terratec-cinergy-xs.c [media] az6007: Use the right keycode for Terratec H7 2012-01-21 13:47:15 -02:00
rc-norwood.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-npgtech.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-pctv-sedna.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-pinnacle-color.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-pinnacle-grey.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-pinnacle-pctv-hd.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
rc-pixelview-002t.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-pixelview-mk12.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-pixelview-new.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-pixelview.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-powercolor-real-angel.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-proteus-2309.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-purpletv.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-pv951.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-rc6-mce.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-real-audio-220-32-keys.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-snapstream-firefly.c [media] ati_remote: switch to single-byte scancodes 2011-12-11 10:51:59 -02:00
rc-streamzap.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-tbs-nec.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-technisat-usb2.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-terratec-cinergy-xs.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-terratec-slim-2.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-terratec-slim.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-tevii-nec.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-tivo.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-total-media-in-hand.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-trekstor.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-tt-1500.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-twinhan1027.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-videomate-m1f.c [media] rc-videomate-m1f.c Rename to match remote controler name 2012-01-10 23:38:19 -02:00
rc-videomate-s350.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-videomate-tv-pvr.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-winfast-usbii-deluxe.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
rc-winfast.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00