All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@suse.de>
To: "Daniel P. Berrange" <berrange@redhat.com>
Cc: Xen devel list <xen-devel@lists.xensource.com>,
	Markus Armbruster <armbru@redhat.com>
Subject: Re: Re: [patch] pvfb: Split mouse and keyboard into separate devices.
Date: Mon, 05 Feb 2007 10:10:45 +0100	[thread overview]
Message-ID: <45C6F495.7000900@suse.de> (raw)
In-Reply-To: <20070203002825.GH18218@redhat.com>

Daniel P. Berrange wrote:
>   - One input device supplies both mouse & keyboard events - this is 
>     basically same as current PVFB setup (appears /dev/input/event0)
>   - A second device supplies only mouse events (/dev/input/event1)

Bad idea IMHO ...

> from event1 no longer get reported via the unified mouse channel. Of 
> course we still have the relative coords coming in on event0 though 
> and thus into X via the 'mouse' driver which mess things up.

... exactly thats why.

As long as /dev/input/event* isn't used there is absolutely no
difference in having a single or two separate devices for keyboard and
mouse events.  In both cases all events go through the kernel's keyboard
driver and /dev/input/mice.  The mouse "just works" with the default
X-Server configuration, using relative coordinates though.

Having two separate devices allows to handle mouse events only via
/dev/input/event to (optionally) have a better configuration with
absolute coordinates, without messing up the keyboard.

You can even create a configuration file which works fine in both cases:
xen virtual mouse being present and being not present.

Why do you want to keep the device with both keyboard and mouse events?
 It makes things much more complicated IMHO.

cheers,
  Gerd

-- 
Gerd Hoffmann <kraxel@suse.de>

  parent reply	other threads:[~2007-02-05  9:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-01 10:59 [patch] pvfb: Split mouse and keyboard into separate devices Gerd Hoffmann
2007-02-01 13:15 ` Markus Armbruster
2007-02-01 13:47   ` Gerd Hoffmann
2007-02-01 17:37 ` Markus Armbruster
2007-02-01 18:05   ` Daniel P. Berrange
2007-02-02  8:39     ` Gerd Hoffmann
2007-02-02 15:25       ` Keir Fraser
2007-02-02 16:29         ` Gerd Hoffmann
2007-02-02 18:11           ` Keir Fraser
2007-02-03  0:28             ` Daniel P. Berrange
2007-02-03  3:51               ` Daniel P. Berrange
2007-02-05  9:20                 ` Gerd Hoffmann
2007-02-05 14:19                 ` Gerd Hoffmann
2007-02-05  9:10               ` Gerd Hoffmann [this message]
2007-02-05 20:55                 ` Daniel P. Berrange
2007-02-06  8:48                   ` Gerd Hoffmann
2007-02-06 13:45                     ` Daniel P. Berrange
2007-02-06 15:05                       ` Gerd Hoffmann
2007-02-06 18:40                     ` Markus Armbruster
2007-02-07  9:35                       ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45C6F495.7000900@suse.de \
    --to=kraxel@suse.de \
    --cc=armbru@redhat.com \
    --cc=berrange@redhat.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.