diff options
author | Mariusz Białończyk <manio@skyboo.net> | 2010-12-29 19:48:43 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-31 13:46:01 -0200 |
commit | 21d33014108671cc6b02feda088f32bf26ce532d (patch) | |
tree | 6cf400b067ca0da5adb45c9ec1611ba417e2e8f7 /Documentation/dontdiff | |
parent | ef98a2c0f2856f6b2aa87fd32d5b192afaeae518 (diff) | |
download | linux-21d33014108671cc6b02feda088f32bf26ce532d.tar.gz linux-21d33014108671cc6b02feda088f32bf26ce532d.tar.bz2 linux-21d33014108671cc6b02feda088f32bf26ce532d.zip |
[media] ir-nec-decoder: fix repeat key issue
Fixing the problem with NEC protocol and repeating keys under the following
circumstances. The problem occurs when there is a repeat code without
properly decoded scancode. This leads to repeat the wrong (last decoded)
scancode.
An example from real life:
I am pressing volume down, then several minutes later i am pressing
volume up, but the real scancode is wrongly decoded and only a repeat
event is emitted, so as a result volume is going down while i am holding
volume up button.
The patch fixes above problem using rc_keyup timeout (as pointed by Mauro).
It just prevents key repeats if they appear after rc_keyup.
Signed-off-by: Mariusz Białończyk <manio@skyboo.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/dontdiff')
0 files changed, 0 insertions, 0 deletions