1
linux/drivers/media/IR
Mauro Carvalho Chehab 9f1547829a V4L/DVB: saa7134: don't wait too much to generate an IR event on raw_decode
At raw_decode mode, the key is processed after the end of a timer. The
previous code resets the timer every time something is received at the IR
port. While this works fine with IR's that don't implement repeat, like
Avermedia RM-JX IR, it keeps waiting until keydown, on IR's that implement
NEC repeat command, like the Terratec yellow.

The solution is to change the behaviour to do the timeout after the first
received data.

The timeout is currently set to 15 ms, as it works fine with NEC protcocol.
It may need some adjustments to support other protocols and to better handle
spurious detections that may happen with some IR sensors.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-05-18 00:52:58 -03:00
..
ir-functions.c V4L/DVB (13680): ir: use unsigned long instead of enum 2010-02-26 15:10:24 -03:00
ir-keymaps.c V4L/DVB: saa7134: use a full scancode table for M135A 2010-05-18 00:52:54 -03:00
ir-keytable.c V4L/DVB: saa7134: don't wait too much to generate an IR event on raw_decode 2010-05-18 00:52:58 -03:00
ir-nec-decoder.c V4L/DVB: saa7134: don't wait too much to generate an IR event on raw_decode 2010-05-18 00:52:58 -03:00
ir-raw-event.c V4L/DVB: saa7134: don't wait too much to generate an IR event on raw_decode 2010-05-18 00:52:58 -03:00
ir-sysfs.c V4L/DVB: ir-core: be less pedantic with RC protocol name 2010-05-18 00:52:53 -03:00
Kconfig
Makefile V4L/DVB: ir-core: Add logic to decode IR protocols at the IR core 2010-05-18 00:52:56 -03:00