mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2025-12-26 05:26:09 +00:00
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>
This commit is contained in:
parent
c39cc1b1ef
commit
243c314b3f
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user