WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 1/3] Add Summagraphics Tablet emulation

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/3] Add Summagraphics Tablet emulation
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Wed, 15 Mar 2006 19:26:53 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, "Dugger, Donald D" <donald.d.dugger@xxxxxxxxx>
Delivery-date: Thu, 16 Mar 2006 01:28:05 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <243bc1afb0aaf80031d7050b9de960ec@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <7F740D512C7C1046AB53446D37200173073C134E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <243bc1afb0aaf80031d7050b9de960ec@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mail/News 1.5 (X11/20060309)
Keir Fraser wrote:

On 15 Mar 2006, at 23:22, Dugger, Donald D wrote:

Yes, the 3 patches are independent so you can apply them as you wish.

I'm not sure what your concern is about the touchpad patch.  There was
code to emulate a touchpad in the code but it was all wrong and didn't
work, I basically had to re-do all of the touchpad code to get this to
work.

Why is it not possible to translate from absolute coordinates provided by VNC into deltas required for PS/2 mouse emulation? Do you end up with accumulating absolute error?
There are two issues, the first is acceleration. Most guests scale relative coordinates by some factor which is usually configuration so you can control the "speed" of the mouse.

The second is that you have no idea where the mouse starts out at or when it gets warped so even if you knew the acceleration you would always be at a fixed offset from the absolute cursor.

Since coordinates are only passed when the mouse is within the bounding box of the VNC window, you end up with unreachable portions of the screen depending on you're offset.

Regards,

Anthony Liguori
 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel