linux/drivers/media/rc/keymaps
Matthias Reichl 172876928f media: rc: xbox_remote: add protocol and set timeout
The timestamps in ir-keytable -t output showed that the Xbox DVD
IR dongle decodes scancodes every 64ms. The last scancode of a
longer button press is decodes 64ms after the last-but-one which
indicates the decoder doesn't use a timeout but decodes on the last
edge of the signal.

267.042629: lirc protocol(unknown): scancode = 0xace
267.042665: event type EV_MSC(0x04): scancode = 0xace
267.042665: event type EV_KEY(0x01) key_down: KEY_1(0x0002)
267.042665: event type EV_SYN(0x00).
267.106625: lirc protocol(unknown): scancode = 0xace
267.106643: event type EV_MSC(0x04): scancode = 0xace
267.106643: event type EV_SYN(0x00).
267.170623: lirc protocol(unknown): scancode = 0xace
267.170638: event type EV_MSC(0x04): scancode = 0xace
267.170638: event type EV_SYN(0x00).
267.234621: lirc protocol(unknown): scancode = 0xace
267.234636: event type EV_MSC(0x04): scancode = 0xace
267.234636: event type EV_SYN(0x00).
267.298623: lirc protocol(unknown): scancode = 0xace
267.298638: event type EV_MSC(0x04): scancode = 0xace
267.298638: event type EV_SYN(0x00).
267.543345: event type EV_KEY(0x01) key_down: KEY_1(0x0002)
267.543345: event type EV_SYN(0x00).
267.570015: event type EV_KEY(0x01) key_up: KEY_1(0x0002)
267.570015: event type EV_SYN(0x00).

Add a protocol with the repeat value and set the timeout in the
driver to 10ms (to have a bit of headroom for delays) so the Xbox
DVD remote performs more responsive.

Signed-off-by: Matthias Reichl <hias@horus.com>
Acked-by: Benjamin Valentin <benpicco@googlemail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-04-22 13:02:53 -04:00
..
Kconfig media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
Makefile media: rc: add driver for Xbox DVD Movie Playback Kit 2018-11-22 13:26:47 -05:00
rc-adstech-dvb-t-pci.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-alink-dtu-m.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-anysee.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-apac-viewcomp.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-astrometa-t2hybrid.c media: rc: Add Astrometa T2hybrid keymap module 2017-10-31 06:35:02 -04:00
rc-asus-pc39.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-asus-ps3-100.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-ati-tv-wonder-hd-600.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-ati-x10.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-avermedia-a16d.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-avermedia-cardbus.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-avermedia-dvbt.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-avermedia-m135a.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
rc-avermedia-m733a-rm-k6.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-avermedia-rm-ks.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-avermedia.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-avertv-303.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-azurewave-ad-tu700.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-behold-columbus.c media: rc: fix several typos 2019-03-01 09:39:39 -05:00
rc-behold.c media: rc: fix several typos 2019-03-01 09:39:39 -05:00
rc-budget-ci-old.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-cec.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-cinergy-1400.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-cinergy.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-d680-dmb.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-delock-61959.c media: rc: nec keymaps should specify the nec variant they use 2018-10-04 14:15:56 -04:00
rc-dib0700-nec.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-dib0700-rc5.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-digitalnow-tinytwin.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-digittrade.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-dm1105-nec.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-dntv-live-dvb-t.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-dntv-live-dvbt-pro.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-dtt200u.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-dvbsky.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-dvico-mce.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-dvico-portable.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-em-terratec.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-encore-enltv-fm53.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
rc-encore-enltv.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-encore-enltv2.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
rc-evga-indtube.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-eztv.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-flydvb.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-flyvideo.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-fusionhdtv-mce.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-gadmei-rm008z.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-geekbox.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-genius-tvgo-a11mce.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-gotview7135.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-hauppauge.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-hisi-poplar.c media: rc/keymaps: add support for RC of hisilicon poplar board 2017-10-27 17:41:00 +02:00
rc-hisi-tv-demo.c media: rc/keymaps: add support for RC of hisilicon TV demo boards 2017-10-27 17:39:38 +02:00
rc-imon-mce.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-imon-pad.c media: rc: add new imon protocol decoder and encoder 2018-03-21 11:12:29 -04:00
rc-imon-rsc.c media: rc: nec keymaps should specify the nec variant they use 2018-10-04 14:15:56 -04:00
rc-iodata-bctv7e.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-it913x-v1.c media: rc: nec keymaps should specify the nec variant they use 2018-10-04 14:15:56 -04:00
rc-it913x-v2.c media: rc: nec keymaps should specify the nec variant they use 2018-10-04 14:15:56 -04:00
rc-kaiomy.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
rc-kworld-315u.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-kworld-pc150u.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-kworld-plus-tv-analog.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
rc-leadtek-y04g0051.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-lme2510.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-manli.c media: rc: fix several typos 2019-03-01 09:39:39 -05:00
rc-medion-x10-digitainer.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-medion-x10-or2x.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-medion-x10.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-msi-digivox-ii.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-msi-digivox-iii.c media: rc: nec keymaps should specify the nec variant they use 2018-10-04 14:15:56 -04:00
rc-msi-tvanywhere-plus.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-msi-tvanywhere.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-nebula.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-nec-terratec-cinergy-xs.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-norwood.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-npgtech.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-pctv-sedna.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-pinnacle-color.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-pinnacle-grey.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-pinnacle-pctv-hd.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-pixelview-002t.c media: rc: nec keymaps should specify the nec variant they use 2018-10-04 14:15:56 -04:00
rc-pixelview-mk12.c media: rc: nec keymaps should specify the nec variant they use 2018-10-04 14:15:56 -04:00
rc-pixelview-new.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
rc-pixelview.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-powercolor-real-angel.c media: rc: fix several typos 2019-03-01 09:39:39 -05:00
rc-proteus-2309.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-purpletv.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-pv951.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-rc6-mce.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-real-audio-220-32-keys.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-reddo.c media: rc: nec keymaps should specify the nec variant they use 2018-10-04 14:15:56 -04:00
rc-snapstream-firefly.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-streamzap.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-su3000.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-tango.c media: rc: Add tango keymap 2017-10-11 12:40:36 -04:00
rc-tbs-nec.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-technisat-ts35.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-technisat-usb2.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-terratec-cinergy-c-pci.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-terratec-cinergy-s2-hd.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-terratec-cinergy-xs.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-terratec-slim-2.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-terratec-slim.c media: rc: nec keymaps should specify the nec variant they use 2018-10-04 14:15:56 -04:00
rc-tevii-nec.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-tivo.c media: rc: nec keymaps should specify the nec variant they use 2018-10-04 14:15:56 -04:00
rc-total-media-in-hand-02.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-total-media-in-hand.c media: rc: nec keymaps should specify the nec variant they use 2018-10-04 14:15:56 -04:00
rc-trekstor.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-tt-1500.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-twinhan-dtv-cab-ci.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-twinhan1027.c [media] media: vp7045: port TwinhanDTV Alpha to rc-core 2017-10-04 15:25:13 -03:00
rc-videomate-m1f.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00
rc-videomate-s350.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-videomate-tv-pvr.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-winfast-usbii-deluxe.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
rc-winfast.c media: rc keymaps: add SPDX identifiers to the code I wrote 2017-12-11 07:42:54 -05:00
rc-xbox-dvd.c media: rc: xbox_remote: add protocol and set timeout 2019-04-22 13:02:53 -04:00
rc-zx-irdec.c media: rc: rename RC_TYPE_* to RC_PROTO_* and RC_BIT_* to RC_PROTO_BIT_* 2017-08-20 10:02:48 -04:00