evemu-record/evemu-play is the current preferred way of recording devices and replaying them for bugs. Problem is that evemu itself is hard to extend because of old API decisions, changing it for some of the features we need (e.g. bug 103145, bug 103635) effectively requires breaking the API. And if we do so, we might as well put the lot into libinput so we can interleave the output with libinput's output and debug messages where necessary. We can easily make the output files compatible, the evemu format is not rocket science.
Extra feature: break up recordings on neutral state, possible on touchpads, etc. Once we get BTN_TOUCH 0 we can split the recording (or at least mark it as sub-recording) or something. This saves me from having to replay 10-minute recordings just to find the one sequence that matters.
commit 578151da61de568d276624b54a7697940d8f5384 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Thu Nov 23 15:31:43 2017 +1000 tools: add a libinput-replay tool commit 576f2ed2a763d116aa271b33034e17d29d1a86b6 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Thu Nov 23 11:01:45 2017 +1000 tools: add a libinput-record tool
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.