Bug 103839 - Add evemu-like record/replay functionality
Summary: Add evemu-like record/replay functionality
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: libinput (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-22 00:12 UTC by Peter Hutterer
Modified: 2018-03-01 02:07 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Peter Hutterer 2017-11-22 00:12:28 UTC
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.
Comment 1 Peter Hutterer 2018-02-19 05:21:17 UTC
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.
Comment 2 Peter Hutterer 2018-03-01 02:07:07 UTC
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.