From d1f950b19bfc0cdbbbb67a508fe369e2a1145953 Mon Sep 17 00:00:00 2001 From: Oleksandr Grytsov Date: Tue, 17 Jul 2018 19:07:40 +0300 Subject: [PATCH] libxl: add LIBXL_HAVE_EXTENDED_VKB define LIBXL_HAVE_EXTENDED_VKB define indicates that libxl_device_vkb structure has extended fields. Signed-off-by: Oleksandr Grytsov Acked-by: Wei Liu --- tools/libxl/libxl.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h index 919f660c51..ae2d63df0c 100644 --- a/tools/libxl/libxl.h +++ b/tools/libxl/libxl.h @@ -354,6 +354,22 @@ #define LIBXL_HAVE_BUILDINFO_BOOTLOADER 1 #define LIBXL_HAVE_BUILDINFO_BOOTLOADER_ARGS 1 +/* + * LIBXL_HAVE_EXTENDED_VKB indicates that libxl_device_vkb has extended fields: + * - unique_id; + * - feature_disable_keyboard; + * - feature_disable_pointer; + * - feature_abs_pointer; + * - feature_raw_pointer; + * - feature_multi_touch; + * - width; + * - height; + * - multi_touch_width; + * - multi_touch_height; + * - multi_touch_num_contacts. + */ +#define LIBXL_HAVE_EXTENDED_VKB 1 + /* * libxl ABI compatibility * -- 2.30.2