summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <freddy77@gmail.com>2020-08-19 15:20:32 +0100
committerFrediano Ziglio <freddy77@gmail.com>2020-08-31 12:33:11 +0100
commit243c314b3f7f7c8ff8df70e08420596b2ea46084 (patch)
tree1fc557eb9aa7a15431a7533f77b5f767e5a2f462
parentc39cc1b1ef5165523f3394f06a65cc9a6c65b7ae (diff)
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 <simonp.git@gmail.com> 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 <freddy77@gmail.com> Acked-by: Kevin Pouget <kpouget@redhat.com>
-rw-r--r--spice.proto8
1 files changed, 7 insertions, 1 deletions
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 {