On Tue, Jul 12, 2022 at 3:25 AM Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> wrote: > > We should not be passing synthetic events (such as autorepeat events) > out of order with the events coming from the hardware device, but rather > add them to pending events and flush them all at once. > > This also fixes an issue with timestamps for key release events carrying > stale data from the previous autorepeat event. > > Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> Reviewed-by: Angela Czubak <acz@xxxxxxxxxxxx> Regards, Angela Czubak