Input: Make sure we follow all EV_KEY events
authorHenrik Rydberg <rydberg@euromail.se>
Fri, 10 Aug 2012 19:39:38 +0000 (21:39 +0200)
committerHenrik Rydberg <rydberg@euromail.se>
Wed, 19 Sep 2012 17:50:17 +0000 (19:50 +0200)
commit0672120a2ee7c533dfec6db7c3e43450f439e5ff
tree5391ff51230e52c22ed4d5d8c1a6026cf87b1206
parent7c75bf99271139ca7cb2d0cca3be11f1f7c59efd
Input: Make sure we follow all EV_KEY events

For some EV_KEY types, sending a larger-than-one value causes the
input state to oscillate. This patch makes sure this cannot happen,
clearing up the autorepeat bypass logic in the process.

Tested-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Tested-by: Ping Cheng <pingc@wacom.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
drivers/input/input.c