weston-info: Add support for tablet-unstable-v2

Graphics / Wayland / Weston - Markus Ongyerth [ongy.net] - 29 May 2018 10:33 EDT

This now prints each tablet seat with at least one tablet/pad/tool attached. For each tablet seat, each tablet, pad and tool is printed with as much detail about the device as the protocol provides. Seat info is stored to be referenced, because the protocol requires to request a tablet_seat for each wl_seat and it's not guaranteed that the tablet_v2_manager is available when seats are advertised.

ccdc81d6 weston-info: Add support for tablet-unstable-v2
Makefile.am | 14 +-
clients/weston-info.c | 845 ++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 854 insertions(+), 5 deletions(-)

Upstream: cgit.freedesktop.org

  • Share