From ccdc81d609b38424f38bcdcb015acf69e9a009c4 Mon Sep 17 00:00:00 2001 From: Markus Ongyerth Date: Mon, 30 Apr 2018 11:35:49 +0200 Subject: weston-info: Add support for tablet-unstable-v2 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. Signed-off-by: Markus Ongyerth Acked-by: Pekka Paalanen Reviewed-by: Peter Hutterer --- Makefile.am | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 64a8006c..d9c03fef 100644 --- a/Makefile.am +++ b/Makefile.am @@ -825,11 +825,13 @@ weston_simple_im_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) weston_info_SOURCES = \ clients/weston-info.c \ shared/helpers.h -nodist_weston_info_SOURCES = \ - protocol/presentation-time-protocol.c \ - protocol/presentation-time-client-protocol.h \ - protocol/linux-dmabuf-unstable-v1-protocol.c \ - protocol/linux-dmabuf-unstable-v1-client-protocol.h +nodist_weston_info_SOURCES = \ + protocol/presentation-time-protocol.c \ + protocol/presentation-time-client-protocol.h \ + protocol/linux-dmabuf-unstable-v1-protocol.c \ + protocol/linux-dmabuf-unstable-v1-client-protocol.h \ + protocol/tablet-unstable-v2-protocol.c \ + protocol/tablet-unstable-v2-client-protocol.h weston_info_LDADD = $(WESTON_INFO_LIBS) libshared.la weston_info_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @@ -889,6 +891,8 @@ BUILT_SOURCES += \ protocol/ivi-application-client-protocol.h \ protocol/linux-dmabuf-unstable-v1-protocol.c \ protocol/linux-dmabuf-unstable-v1-client-protocol.h \ + protocol/tablet-unstable-v2-protocol.c \ + protocol/tablet-unstable-v2-client-protocol.h \ protocol/input-timestamps-unstable-v1-protocol.c \ protocol/input-timestamps-unstable-v1-client-protocol.h -- cgit v1.2.3