From 243c314b3f7f7c8ff8df70e08420596b2ea46084 Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Wed, 19 Aug 2020 15:20:32 +0100 Subject: [PATCH] proto: Add support for side mouse buttons This is the couterpart of spice-protocol commit commit cbe7b2c28543f4c5e57d1db1b753b73a64104162 (HEAD -> master, origin/master, origin/HEAD) Author: SimonP protocol: Add support for side mouse buttons Side mouse buttons currently do not exist in the protocol, causing them to be inexplicably ignored by VMs in virt-manager and such. This lays the groundwork for fixing that issue. Signed-off-by: Frediano Ziglio Acked-by: Kevin Pouget --- spice.proto | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/spice.proto b/spice.proto index db86696..814fa89 100644 --- a/spice.proto +++ b/spice.proto @@ -1031,12 +1031,18 @@ enum8 mouse_button { RIGHT, UP, DOWN, + SIDE, + EXTRA, }; flags16 mouse_button_mask { LEFT, MIDDLE, - RIGHT + RIGHT, + UP, + DOWN, + SIDE, + EXTRA, }; channel InputsChannel : BaseChannel {