From: Jean Guyader Subject: Re: RFC: drop frontend support for relative pointer Date: Tue, 13 Oct 2009 21:58:35 +0100 Message-ID: References: <87vdirw2d8.fsf@pike.pond.sub.org> <87skduoxbo.fsf@pike.pond.sub.org> <87d44ss5su.fsf@pike.pond.sub.org> <87ocobcm9j.fsf@pike.pond.sub.org> <87bpkbb1rk.fsf@pike.pond.sub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <87bpkbb1rk.fsf@pike.pond.sub.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Markus Armbruster Cc: "xen-devel@lists.xensource.com" , "Daniel P. Berrange" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org 2009/10/13 Markus Armbruster : > Stefano Stabellini writes: > >> On Tue, 13 Oct 2009, Markus Armbruster wrote: >>> > I don't really thing we could use absolute because we do graphic >>> > device pass through with PV guest and the resolution we have on the >>> > screen is completely decouple with the fb resolution. >>> >>> I figure the real solution is to decouple the PV pointer/keyboard from >>> the PV framebuffer, so you can configure the pointer independently, and >>> don't have to drag a PV framebuffer along, just to get a PV >>> pointer/keyboard. >>> >> >> True, but it still wouldn't solve the problem of dropping relative mouse >> coordinates support from vkbd. > > You can always convert between relative and absolute in the backend. > Pointer resolution need not match the graphics resolution (think tablet, > not touchscreen). Even something a touchpad is absolute. > > Nevertheless, it might be more convenient for this use case to keep > relative around. =A0Then the backend need only be able to convert from > absolute to relative (for frontends declining feature-abs-pointer), not > the other direction. =A0XCI is of course free to require a frontend that > doesn't decline. > We already have some bit of code to do the absolute -> relative conversion. But we try to avoid dom0 driver to use abusolute of its devices. > If we decide to keep relative, we need to restructure pointer frontend > initialization to each axis either relative or absolute. =A0Unless evdev > developers find a way to continue coping with both. >