<div>Hi Victor,</div><div><br></div><div>Yes it was certainly a good read and i got some ideas from it, but the code has changed quite a lot since 2017 and the patches correspond to the current code only for about 10-15%.</div><div>Maybe someone from the Spice team can suggest a patch to add additional mouse buttons - i am sure that it would be a matter of minutes to an hour for anyone who is involved with coding the spice-vdagent project to create a general patch idea to add additional mouse buttons</div><div><br></div><div>It is just a matter of forwarding them to the guest - for some reason it was decided not to add them.</div><div><br></div><div>thanks!<br></div><div><br></div><br><br><blockquote type="cite" style="margin:0 0 0 0.5em;border-left:1px #00f solid;padding-left:1em;">De : Victor Toso <victortoso@redhat.com><br>
À : bruts@netc.fr<br>
Sujet : Re: [Spice-devel] spice-vdagent: how to enable additional mouse buttons?<br>
Date : 12/05/2020 07:25:59 Europe/Paris<br>
Copie à : uril@redhat.com;<br>
spice-devel@lists.freedesktop.org<br>
<br>
Hi,<br>
<br>
On Tue, May 12, 2020 at 12:53:02AM +0200, bruts@netc.fr wrote:<br>
> <br>
> <br>
> Uri (and others),<br>
> <br>
> I found the similar question in a few corners of the internet<br>
> and I think adding at least the additional default mouse<br>
> buttons should not be all that much work.<br>
<br>
You can take a look at this proposal to adding horizontal wheel<br>
support to Spice<br>
<br>
<a href="https://lists.freedesktop.org/archives/spice-devel/2017-October/040558.html" rel="noreferrer">https://lists.freedesktop.org/archives/spice-devel/2017-October/040558.html</a><br>
<br>
> With some guidance I could probably do it myself, though the<br>
> guidance would need to be quite substantial :)<br>
> <br>
> The mouse and the main buttons is already forwarded and that is<br>
> the main part.<br>
> <br>
> with xev it is clear to see which buttons work on the host, but<br>
> not on the guest.<br>
> <br>
> Anyone with some spare time (which I know is always limited for<br>
> everyone), but help me where to fix this in the code and i will<br>
> write a patch - or give me a good start - or start yourself.<br>
> <br>
> a semi working mouse in the guest is very annoying and can be<br>
> one of the critical points why to use spice (or not) - at least<br>
> i know it is in my case.<br>
> <br>
> Thanks!!<br>
<br>
Cheers,<br>
Victor<br>
<br></blockquote>