Re: [PATCH] ui: Add more mouse buttons to SPICE

2020-08-31 Thread Gerd Hoffmann
> +[INPUT_BUTTON_SIDE]= 0x40, > +[INPUT_BUTTON_EXTRA] = 0x80, Added to UI patch queue. thanks, Gerd

[PATCH] ui: Add more mouse buttons to SPICE

2020-08-20 Thread Frediano Ziglio
From: Frediano Ziglio Add support for SIDE and EXTRA buttons. The constants for buttons in both SPICE and QEMU are defined as LEFT MIDDLE RIGHT UP DOWN SIDE EXTRA (same order). "button_mask" contains for each bit the state of a button. Qemu currently uses bits 0, 1, 2

Re: [PATCH] ui: Add more mouse buttons to SPICE

2020-08-20 Thread Marc-André Lureau
Hi On Thu, Aug 20, 2020 at 5:01 PM Frediano Ziglio wrote: > From: Frediano Ziglio > > Add support for SIDE and EXTRA buttons. > > Signed-off-by: Frediano Ziglio > --- > ui/spice-input.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/ui/spice-input.c b/ui/spice-input.c > index

[PATCH] ui: Add more mouse buttons to SPICE

2020-08-20 Thread Frediano Ziglio
From: Frediano Ziglio Add support for SIDE and EXTRA buttons. Signed-off-by: Frediano Ziglio --- ui/spice-input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/spice-input.c b/ui/spice-input.c index cd4bb0043f..d5bba231c9 100644 --- a/ui/spice-input.c +++ b/ui/spice-input.c @@

[PATCH] ui: Add more mouse buttons to SPICE

2020-08-20 Thread Frediano Ziglio
Add support for SIDE and EXTRA buttons. Signed-off-by: Frediano Ziglio --- ui/spice-input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/spice-input.c b/ui/spice-input.c index cd4bb0043f..d5bba231c9 100644 --- a/ui/spice-input.c +++ b/ui/spice-input.c @@ -123,6 +123,8 @@ static void