linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Improve CEC autorepeat handling
@ 2017-11-24 11:43 Sean Young
  2017-11-24 11:43 ` [PATCH 1/3] input: remove redundant check for EV_REP Sean Young
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Sean Young @ 2017-11-24 11:43 UTC (permalink / raw)
  To: Hans Verkuil, Dmitry Torokhov, Mauro Carvalho Chehab,
	linux-input, 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-11-27 15:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-24 11:43 [PATCH 0/3] Improve CEC autorepeat handling Sean Young
2017-11-24 11:43 ` [PATCH 1/3] input: remove redundant check for EV_REP Sean Young
2017-11-24 11:44 ` [PATCH 2/3] input: handle case whether first repeated key triggers repeat Sean Young
2017-11-24 11:44 ` [PATCH 3/3] media: cec: move cec autorepeat handling to rc-core Sean Young
2017-11-25 23:47 ` [PATCH 0/3] Improve CEC autorepeat handling Dmitry Torokhov
2017-11-27  9:13   ` Hans Verkuil
2017-11-27  9:47     ` Sean Young
2017-11-27 10:01       ` Hans Verkuil
2017-11-27 10:11       ` Dmitry Torokhov
2017-11-27 15:43       ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).