Re: [PATCH 1/2] Input: rotary_encoder - Support key events

From: Dmitry Torokhov
Date: Sun Jan 06 2019 - 19:39:16 EST


On Sat, Jan 5, 2019 at 9:36 PM nazgul33 <nazgul33@xxxxxxxxx> 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