Hello
thanks in advance.
Is it possible to get the side buttons on a mouse to work within a guest of kvm/qemu ?
I am using virtmanager to create guests. On the viewing host I have a mouse that has side buttons that allows me to go 'forward and back' in my browser history.
This does not work in the guests. I have tried various mouse configurations and remote viewers ( vnc/spice ) . usb passthrough is not a solution as the VM guests are not always on the same host I am sitting in front of.
I have been using 'xev' to verify that the mouse side buttons are not being registered in the guests.
This is what 'xev' generates when clicking a side button on the bare hardware. The buttons are 8 and 9. Within a guest 'xev' generates nothing for these buttons
I tried to find the latest source files for the relevant items but this is really gettting outside my level of skill
Here is some source for spice that seems to not include the side buttons.
http://cgit.freedesktop.org/spice/qe...c4b66f26d91416
the qemu vmouse (ps2?) supports 3 buttons and a wheel through a dx? interface
http://git.qemu.org/?p=qemu.git;a=bl...00517b;hb=HEAD
qemu hid (usb) supports 3 buttons and a wheel through a dx interface ?
http://git.qemu.org/?p=qemu.git;a=bl...81b167;hb=HEAD
thanks in advance.
Is it possible to get the side buttons on a mouse to work within a guest of kvm/qemu ?
I am using virtmanager to create guests. On the viewing host I have a mouse that has side buttons that allows me to go 'forward and back' in my browser history.
This does not work in the guests. I have tried various mouse configurations and remote viewers ( vnc/spice ) . usb passthrough is not a solution as the VM guests are not always on the same host I am sitting in front of.
I have been using 'xev' to verify that the mouse side buttons are not being registered in the guests.
This is what 'xev' generates when clicking a side button on the bare hardware. The buttons are 8 and 9. Within a guest 'xev' generates nothing for these buttons
Code:
ButtonPress event, serial 37, synthetic NO, window 0x4600001,
root 0x80, subw 0x0, time 256904747, (118,114), root:(183,166),
state 0x10, button 8, same_screen YES
ButtonRelease event, serial 37, synthetic NO, window 0x4600001,
root 0x80, subw 0x0, time 256904846, (118,114), root:(183,166),
state 0x10, button 8, same_screen YES
I tried to find the latest source files for the relevant items but this is really gettting outside my level of skill
Here is some source for spice that seems to not include the side buttons.
http://cgit.freedesktop.org/spice/qe...c4b66f26d91416
the qemu vmouse (ps2?) supports 3 buttons and a wheel through a dx? interface
http://git.qemu.org/?p=qemu.git;a=bl...00517b;hb=HEAD
qemu hid (usb) supports 3 buttons and a wheel through a dx interface ?
http://git.qemu.org/?p=qemu.git;a=bl...81b167;hb=HEAD