WSL2-Linux-Kernel/drivers/media/rc/keymaps
James Hogan 18bc174481 [media] media: rc: change 32bit NEC scancode format
Change 32bit NEC scancode format (used by Apple and TiVo remotes) to
encode the data with the correct bit order. Previously the raw bits were
used without being bit reversed, now each 16bit half is bit reversed
compared to before.

So for the raw NEC data:
  (LSB/First) 0xAAaaCCcc (MSB/Last)
(where traditionally AA=address, aa=~address, CC=command, cc=~command)

We now generate the scancodes:
  (MSB) 0x0000AACC (LSB) (normal NEC)
  (MSB) 0x00AAaaCC (LSB) (extended NEC, address check wrong)
  (MSB) 0xaaAAccCC (LSB) (32-bit NEC, command check wrong)

Note that the address byte order in 32-bit NEC scancodes is different to
that of the extended NEC scancodes. I chose this way as it maintains the
order of the bits in the address/command fields, and CC is clearly
intended to be the LSB of the command if the TiVo codes are anything to
go by so it makes sense for AA to also be the LSB.

The TiVo keymap is updated accordingly.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>
Cc: Jarod Wilson <jarod@redhat.com>
Cc: linux-media@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-02-06 09:20:07 -02:00
..
Kconfig [media] rc: rename the remaining things to rc_core 2010-12-29 08:16:50 -02:00
Makefile [media] dw2102: Use RC Core instead of the legacy RC (second edition) 2013-12-10 15:22:30 -02: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-asus-ps3-100.c [media] patch for Asus My Cinema PS3-100 (1043:48cd) 2012-05-20 16:05:02 -03: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-delock-61959.c [media] rc: Add rc-delock-61959 2013-05-21 08:18:19 -03:00
rc-dib0700-nec.c treewide: Fix common typo in "identify" 2013-10-14 15:31:06 +02:00
rc-dib0700-rc5.c treewide: Fix common typo in "identify" 2013-10-14 15:31:06 +02: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-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-encore-enltv2.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 [media] rc-core: add separate defines for protocol bitmaps and numbers 2012-10-27 11:49:51 -02: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] rc-it913x=v2 Incorrect assigned KEY_1 2012-05-20 11:41:45 -03: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 regular up/down buttons to Medion Digitainer keymap 2012-05-20 11:40:37 -03:00
rc-medion-x10-or2x.c [media] ati_remote: add keymap for Medion X10 OR2x remotes 2012-05-20 11:40:06 -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 [media] rc-msi-digivox-ii: Add full scan keycodes 2012-10-07 09:57:34 -03: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 [media] rc-core: add separate defines for protocol bitmaps and numbers 2012-10-27 11:49:51 -02: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-reddo.c [media] rc: add rc-reddo 2013-04-14 22:48:35 -03: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-su3000.c [media] dw2102: Use RC Core instead of the legacy RC (second edition) 2013-12-10 15:22:30 -02: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 [media] media: rc: change 32bit NEC scancode format 2014-02-06 09:20:07 -02:00
rc-total-media-in-hand-02.c [media] rc/keymaps: add RC keytable for MyGica X8507 2012-12-23 19:42:14 -02: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 [media] rc: Add support for the TechnoTrend USB IR Receiver 2012-08-13 16:19:11 -03: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