[PATCH libinput 0/5] test: static and modifieable device descriptions

Peter Hutterer peter.hutterer at who-t.net
Mon Mar 31 20:47:04 PDT 2014


With 1/5, the descriptions are already pretty much limited to just a static
description of a device. This set pushes this further, truly reducing
each test device to a bunch of arrays with the device-specific data,
everything else that used to be boilerplate is now handled by the litest
framework.

This makes it easier to create a new device based on an existing one, but
override a few values instead (4/5). Overrides for event codes and
properties at the moment are additive only, and overrides for abs events can
only modify or add codes, not remove.

Likewise, this is currently only for device creation, no APIs for using
litest_touch_down() with overrides exist yet.

Cheers,
  Peter


More information about the wayland-devel mailing list