diff options
author | Sergio Lopez <slp@redhat.com> | 2023-05-26 13:29:21 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-05-28 13:08:25 +0400 |
commit | 2bfb10dff2a21e42708aa4aef4bb64e8e3674858 (patch) | |
tree | d73da317f73335d5c13bb715acbe492a56e04fa3 /include | |
parent | 944ae6d9f17c3c6609f8d0832311b7a050d6c4b6 (diff) | |
download | qemu-2bfb10dff2a21e42708aa4aef4bb64e8e3674858.zip qemu-2bfb10dff2a21e42708aa4aef4bb64e8e3674858.tar.gz qemu-2bfb10dff2a21e42708aa4aef4bb64e8e3674858.tar.bz2 |
ui: add the infrastructure to support MT events
Add the required infrastructure to support generating multitouch events.
Signed-off-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20230526112925.38794-3-slp@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/ui/input.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ui/input.h b/include/ui/input.h index c86219a..2a3dffd 100644 --- a/include/ui/input.h +++ b/include/ui/input.h @@ -8,9 +8,12 @@ #define INPUT_EVENT_MASK_BTN (1<<INPUT_EVENT_KIND_BTN) #define INPUT_EVENT_MASK_REL (1<<INPUT_EVENT_KIND_REL) #define INPUT_EVENT_MASK_ABS (1<<INPUT_EVENT_KIND_ABS) +#define INPUT_EVENT_MASK_MTT (1<<INPUT_EVENT_KIND_MTT) #define INPUT_EVENT_ABS_MIN 0x0000 #define INPUT_EVENT_ABS_MAX 0x7FFF +#define INPUT_EVENT_SLOTS_MIN 0x0 +#define INPUT_EVENT_SLOTS_MAX 0xa typedef struct QemuInputHandler QemuInputHandler; typedef struct QemuInputHandlerState QemuInputHandlerState; |