|
From: | Gerd Hoffmann |
Subject: | Re: [Qemu-devel] paravirtual mouse/tablet |
Date: | Thu, 13 Jan 2011 18:19:40 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Red Hat/3.1.7-3.el6_0 Thunderbird/3.1.7 |
On 01/13/11 17:18, Avi Kivity wrote:
On 01/13/2011 12:19 PM, Gerd Hoffmann wrote:Hi, Just throwing a quick writeup into the ring to kickstart the design discussion ;) typedef struct qemu_pvtablet_message { uint32_t size; /* whole message size */ uint32_t type; /* qemu_pvtablet_type */ uint64_t tv_secs; uint64_t tv_usecs;time relative to what base?
Guess that needs to be refined ;)Just something relative (if available) should good enougth. The intended purpose is being able to figure how much time passed between two events, so one can figure whenever two mouse clicks should be considered a double-click or not. Ideally the timestamps from the original mouse event in the vnc/spice client would be passed all the way through to the guest. Didn't check the protocols whenever they actually support that, but I think we should have this in the protocol even if they don't ...
cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |