[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKdAkRTL0dBMxAk7uUEexF8uXba+cr+POU5ysLv5830SMPjHzQ@mail.gmail.com>
Date: Sun, 6 Jan 2019 18:38:44 -0600
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: nazgul33 <nazgul33@...il.com>
Cc: "linux-input@...r.kernel.org" <linux-input@...r.kernel.org>,
Daniel Mack <daniel@...aq.de>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] Input: rotary_encoder - Support key events
On Sat, Jan 5, 2019 at 9:36 PM nazgul33 <nazgul33@...il.com> wrote:
>
> input_sync() is there, at the end of the function.
I know. Nonetheless, you need another one between sending distinct key
events. Userspace is allowed to accumulate device state until
EV_SYN/SYN_REPORT is received, which can result in your key events
being a noop.
Thanks.
--
Dmitry
Powered by blists - more mailing lists