Re: [Qemu-devel] hw/input/ps2.c : BTN_SIDE and BTN_EXTRA not forwarded

2018-12-16 Thread james harvey
I think this is a spice issue. I think anyone who has successfully used these buttons wasn't using spice. spice-protocol::spice/enums.h only gives SpiceMouseButton types of LEFT, MIDDLE, RIGHT, UP, and DOWN. spice-gtk::src/spide-widget.c::button_event() calls button_gdk_to_spice() which also

Re: [Qemu-devel] hw/input/ps2.c : BTN_SIDE and BTN_EXTRA not forwarded

2018-12-16 Thread james harvey
Running "remote-viewer --spice-debug" does show events for pushing the scroll wheel left and right: (remote-viewer:14226): GSpice-DEBUG: 17:09:00.043: spice-widget.c:2007 0:0 button_event press: button 8, state 0x10 (remote-viewer:14226): GSpice-DEBUG: 17:09:00.414: spice-widget.c:2007 0:0

Re: [Qemu-devel] hw/input/ps2.c : BTN_SIDE and BTN_EXTRA not forwarded

2018-12-16 Thread james harvey
I didn't make it very clear that my Arch Linux guest didn't had tablet emulation. On it, evtest only shows "ImExPS/2 Generic Explorer Mouse". On its monitor, "info mice" shows: * Mouse #2: QEMU PS/2 Mouse On the Windows 7 guest, you're right: Mouse #2: QEMU PS/2 Mouse * Mouse #3: QEMU HID

Re: [Qemu-devel] hw/input/ps2.c : BTN_SIDE and BTN_EXTRA not forwarded

2018-12-16 Thread Fabian Lesniak
Probably the PS/2 mouse is not used at all because the HID Tablet takes precedence. By entering "info mice" on the monitor console you can see which mouse is currently used. If you disable or uninstall the HID Tablet, the PS/2 mouse should take over. "IMEX" is short for Intelli Mouse Explorer.

[Qemu-devel] hw/input/ps2.c : BTN_SIDE and BTN_EXTRA not forwarded

2018-12-15 Thread james harvey
Running qemu 3.1.0. virt-viewer 7.0. spice, spice-gtk, and spice-protocol all git versions from the past week or so. I have a Logitech G600 mouse. The scroll wheel can be pushed left or right. On Arch Linux host, "evtest" shows these as event codes 275 (BTN_SIDE) and 276 (BTN_EXTRA.) In