[PATCH 0/3] Improve CEC autorepeat handling

From
Sean Young <sean@mess.org>
Date
2017-11-24 11:44:03
Also in
linux-media
Due to the slowness of the CEC bus, autorepeat handling rather special
on CEC. If the repeated user control pressed message is received, a 
keydown repeat should be sent immediately.

By handling this in the input layer, we can remove some ugly code from
cec, which also sends a keyup event after the first keydown, to prevent
autorepeat.

Sean Young (3):
  input: remove redundant check for EV_REP
  input: handle case whether first repeated key triggers repeat
  media: cec: move cec autorepeat handling to rc-core

 Documentation/input/input.rst |  4 +++-
 drivers/input/input.c         | 21 ++++++++++++----
 drivers/media/cec/cec-adap.c  | 56 ++++---------------------------------------
 drivers/media/cec/cec-core.c  | 12 ----------
 drivers/media/rc/rc-main.c    | 10 +++++++-
 include/media/cec.h           |  5 ----
 6 files changed, 33 insertions(+), 75 deletions(-)

-- 
2.14.3
Thread (10 messages) 10 messages, 3 authors, last reply 2017-11-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help