On 31 January 2018 at 22:09, Tomasz Kłoczko <kloczko.tomasz@gmail.com> wrote:
[..] 
Why I think that it may be related to libinput? Because in logs I see as well another type of entries:

#  journalctl -xe | grep libinput
Jan 31 21:55:18 domek org.gnome.Shell.desktop[2153]: libinput error: libinput bug: timer event5 debounce: offset negative (-354ms)
Jan 31 21:55:18 domek org.gnome.Shell.desktop[2153]: libinput error: libinput bug: timer event5 debounce short: offset negative (-368ms)
Jan 31 21:56:27 domek org.gnome.Shell.desktop[2153]: libinput error: libinput bug: timer event5 debounce: offset negative (-1107ms)
Jan 31 21:56:27 domek org.gnome.Shell.desktop[2153]: libinput error: libinput bug: timer event5 debounce short: offset negative (-1120ms)
Jan 31 22:05:12 domek org.gnome.Shell.desktop[2153]: libinput error: libinput bug: timer event4 keyboard: offset negative (-331ms)
Jan 31 22:06:05 domek org.gnome.Shell.desktop[2153]: libinput error: libinput bug: timer event4 keyboard: offset negative (-750ms)
Jan 31 22:06:05 domek org.gnome.Shell.desktop[2153]: libinput error: libinput bug: timer event4 keyboard: offset negative (-413ms)

Correction:

# libinput list-devices | grep ^Device -A1
Device:           Video Bus
Kernel:           /dev/input/event7
--
Device:           Sony Vaio Jogdial
Kernel:           /dev/input/event9
--
Device:           Sony Vaio Keys
Kernel:           /dev/input/event8
--
Device:           Video Bus
Kernel:           /dev/input/event6
--
Device:           Power Button
Kernel:           /dev/input/event1
--
Device:           Lid Switch
Kernel:           /dev/input/event0
--
Device:           USB 2.0 Camera: USB Camera
Kernel:           /dev/input/event13
--
Device:           HDA Intel PCH Headphone
Kernel:           /dev/input/event10
--
Device:           HDA Intel PCH HDMI/DP,pcm=3
Kernel:           /dev/input/event11
--
Device:           HDA Intel PCH HDMI/DP,pcm=7
Kernel:           /dev/input/event12
--
Device:           Logitech M185
Kernel:           /dev/input/event5
--
Device:           CD002 CD002
Kernel:           /dev/input/event3
--
Device:           AT Translated Set 2 keyboard
Kernel:           /dev/input/event2
--
Device:           AlpsPS/2 ALPS GlidePoint
Kernel:           /dev/input/event4

So event4 it is in my case touch pad and event5  it is Logitech M185 mouse.
In other words: those "libinput bug" log entries looks like are not related to emitting those short bursts of repeating keystrokes.

kloczek
-- 
Tomasz Kłoczko | LinkedIn: http://lnkd.in/FXPWxH