[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] paravirtual mouse/tablet
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] paravirtual mouse/tablet |
Date: |
Fri, 14 Jan 2011 16:13:29 +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 |
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.
The details of what exactly that means
should be figured out by the guest driver.
Agree.
I'm not familiar with the hardware interface, but in order to support
that the background interface must be a lot more complex than a
simple button press.
Buttons events are for buttons. Real ones, which apple lost ;)
Of course a tap on the trackpad is usually interpreted as mouse click.
But that is the job of the guest OS, our virtual hardware doesn't care.
But then again - how would we forward fine-grained scrolling to the
guest if we only know that it's scrolling, but not what the actual
presses on the touchpad looked like? Ugh.
There must be an interface to get (more or less) the raw touchpad data,
for apps which want implement their own multitouch gestures?
cheers,
Gerd
- Re: [Qemu-devel] paravirtual mouse/tablet, (continued)
- Re: [Qemu-devel] paravirtual mouse/tablet, Anthony Liguori, 2011/01/13
- Re: [Qemu-devel] paravirtual mouse/tablet, Avi Kivity, 2011/01/13
- Re: [Qemu-devel] paravirtual mouse/tablet, Alexander Graf, 2011/01/13
- Re: [Qemu-devel] paravirtual mouse/tablet, Anthony Liguori, 2011/01/13
- Re: [Qemu-devel] paravirtual mouse/tablet, Gerd Hoffmann, 2011/01/14
- Re: [Qemu-devel] paravirtual mouse/tablet, Alexander Graf, 2011/01/14
- Re: [Spice-devel] [Qemu-devel] paravirtual mouse/tablet, Frédéric Grelot, 2011/01/14
- Re: [Qemu-devel] paravirtual mouse/tablet,
Gerd Hoffmann <=
- Re: [Qemu-devel] paravirtual mouse/tablet, Alexander Graf, 2011/01/14
- Re: [Qemu-devel] paravirtual mouse/tablet, Alexander Graf, 2011/01/14
- Re: [Qemu-devel] paravirtual mouse/tablet, Gerd Hoffmann, 2011/01/14
- Re: [Qemu-devel] paravirtual mouse/tablet, Alexander Graf, 2011/01/14
- Re: [Qemu-devel] paravirtual mouse/tablet, Gerd Hoffmann, 2011/01/17
- Re: [Qemu-devel] paravirtual mouse/tablet, Alexander Graf, 2011/01/18
- Re: [Qemu-devel] paravirtual mouse/tablet, Alon Levy, 2011/01/15
- Re: [Qemu-devel] paravirtual mouse/tablet, Anthony Liguori, 2011/01/14
- Re: [Qemu-devel] paravirtual mouse/tablet, Gerd Hoffmann, 2011/01/14
- Re: [Qemu-devel] paravirtual mouse/tablet, Peter Maydell, 2011/01/14