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