diff options
author | Jarod Wilson <[email protected]> | 2011-06-16 16:18:37 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2011-07-01 16:33:01 -0300 |
commit | 3f5c4c73322e4d6f3d40b697dac3073d2adffe41 (patch) | |
tree | 70d2d3906e6e431ba9e38c074d292e17b0fe420d /net/lapb/lapb_timer.c | |
parent | c4b0afee3c1730cf9b0f6ad21729928d23d3918e (diff) |
[media] rc: fix ghost keypresses with certain hw
With hardware that has to use ir_raw_event_store_edge to collect IR
sample durations, we were not doing an event reset unless
IR_MAX_DURATION had passed. That's around 4 seconds. So if someone
presses up, then down, with less than 4 seconds in between, they'd get
the initial up, then up and down upon pressing down.
To fix this, I've lowered the "send a reset event" logic's threshold to
the input device's REP_DELAY (defaults to 500ms), and with an
saa7134-based GPIO-driven IR receiver in a Hauppauge HVR-1150, I get
*much* better behavior out of the remote now. Special thanks to Devin
for providing the hardware to investigate this issue.
CC: [email protected]
CC: Devin Heitmueller <[email protected]>
Signed-off-by: Jarod Wilson <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions