From: Markus Armbruster Subject: Re: [patch] pvfb: Split mouse and keyboard into separate devices. Date: Thu, 01 Feb 2007 18:37:12 +0100 Message-ID: <87r6t97p9z.fsf@pike.pond.sub.org> References: <45C1C7FC.8080208@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <45C1C7FC.8080208@suse.de> (Gerd Hoffmann's message of "Thu, 01 Feb 2007 11:59:08 +0100") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gerd Hoffmann Cc: Xen devel list List-Id: xen-devel@lists.xenproject.org Gerd Hoffmann writes: > Hi, > > This patch creates two separate input devices for keyboard and mouse > events. The reason for this is to separate them in the linux input > layer and allow them being routed different ways. > > Use case: Configure the X-Server like this to get the mouse > events directly from the linux input layer, which has the major > advantage that absolute coordinates work correctly: > > Section "InputDevice" > Driver "evdev" > Identifier "Mouse[1]" > Option "Device" "/dev/input/event" > EndSection > > This makes the keyboard stop working though in case mouse and > keyboard events are coming through the same input device. > > please apply, I tried it out. With the configuration sketched above, I get a working keyboard and mouse, and the mouse behaves much better than before. However, with the default configuration, the mouse doesn't work at all. The drawbacks of just applying the patch are obvious, I think. Gerd, any ideas how to make X recognize the split devices automatically?