From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH 1/3] Add Summagraphics Tablet emulation Date: Wed, 15 Mar 2006 19:26:53 -0600 Message-ID: <4418BEDD.4000707@us.ibm.com> References: <7F740D512C7C1046AB53446D37200173073C134E@scsmsx402.amr.corp.intel.com> <243bc1afb0aaf80031d7050b9de960ec@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <243bc1afb0aaf80031d7050b9de960ec@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com, "Dugger, Donald D" List-Id: xen-devel@lists.xenproject.org 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@lists.xensource.com > http://lists.xensource.com/xen-devel