From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: Re: [patch] pvfb: Split mouse and keyboard into separate devices. Date: Fri, 02 Feb 2007 17:29:57 +0100 Message-ID: <45C36705.5080600@suse.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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 list , "Daniel P. Berrange" , Markus Armbruster List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: > On 2/2/07 08:39, "Gerd Hoffmann" wrote: > >> Daniel P. Berrange wrote: >>> Is there some way we can keep the original device supplying both keyboard >>> and mouse events as before, and just have this second device as an opt-in >>> 'absolute pointer' event device. That way existing Xorg setups will still >>> work correctly without needing any config changes, while providing the >>> ability to opt-in to getting absolute events by adding the extra config. >> Should be possible. > > I guess I'll wait for this before applying the patch then. With Xorg 7.2, this patch, and the device id patch on top you can add this ... Section "InputDevice" Driver "evdev" Identifier "xenptr" Option "SendCoreEvents" "true" Option "vendor" "0x5853" Option "product" "0x0003" EndSection ... as additional (to the default /dev/input/mice) input device. The new input device must also be added to the serverlayout section. WorksForMe[tm]. cheers, Gerd -- Gerd Hoffmann