[Spice-devel] [Qemu-devel] paravirtual mouse/tablet

Alexander Graf agraf at suse.de
Fri Jan 14 07:44:53 PST 2011


On 14.01.2011, at 16:28, Alexander Graf wrote:

> 
> On 14.01.2011, at 16:13, Gerd Hoffmann wrote:
> 
>> Hi,
>> 
>>> So it'd end up being (x,y,pressure) N times (I think 16 is fine for
>>> the foreseeable future).
>> 
>> I'd tend to extend MOVE to (x,y,pressure,index) and send N events with the same timestamp.  Needs to send only as many events as it finds fingers on the touchpad, i.e. usually just one or two, even if the protocol can easily handle alot more than 16 ;)
>> 
>> For a simple tablet pressure and index would just be 0.
> 
> For a simple tablet pressure would be MAX and index would be 0. But yes, I like the idea :).

0 for non-presses of course :). Sorry


Alex



More information about the Spice-devel mailing list