Re: [Qemu-devel] [PATCH RFC 0/8] monitor: Fix mouse_button and improve mouse_move commands

2013-06-17 Thread Gerd Hoffmann
Hi, My solution is to obtain position and buttons state from where the VMState is: I clean up the mouse event handler registration code a bit and extend it: * one mandatory callback to obtain mouse button state and * one optional callback to obtain absolute position state from backends.

[Qemu-devel] [PATCH RFC 0/8] monitor: Fix mouse_button and improve mouse_move commands

2013-06-15 Thread Andreas Färber
Hi everyone, Here's a new stab at fixing mouse_button HMP command with absolute coordinates, as seen with the following devices: usb-tablet, usb-wacom-tablet, ads7846 and depending on settings vmmouse and xenfb, as well as pre-qdev tsc2005, tsc2102, tsc2301 touchscreens. openQA [3] is a