From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Michael Thayer <Michael.Thayer@Sun.COM>
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1]: input: add support for VirtualBox touchscreen emulation to the Lifebook driver
Date: Tue, 2 Mar 2010 13:28:12 -0800 [thread overview]
Message-ID: <20100302212812.GA13499@core.coreip.homeip.net> (raw)
In-Reply-To: <1267562688.2441.7.camel@michael-laptop>
On Tue, Mar 02, 2010 at 09:44:48PM +0100, Michael Thayer wrote:
> Hello Dmitry,
>
> Le jeudi 25 février 2010 à 02:17 -0800, Dmitry Torokhov a écrit :
> > On Wed, Feb 24, 2010 at 12:46:29PM +0100, Michael Thayer wrote:
> > > Le mercredi 24 février 2010 à 02:02 -0800, Dmitry Torokhov a écrit :
> > > > On Tue, Feb 23, 2010 at 09:55:33PM +0100, Michael Thayer wrote:
> > > > > I'm not sure, if we ended up doing a completely new device, how different it
> > > > > would end up being. Emulating a touchscreen or a tablet makes sense for us as
> > > > > these are both something known, which will work with existing systems without
> > > > > too much tweaking
> > > > > [snip]
> > > > But the virtual mouse is not a touchscreen or a tablet, it behaves
> > > > differently.
> > > What would you suggest emulating that exists in the real world?
> >
> > There are not many real devices that have teh same characteristics as
> > virtual mouse generating absolute coordinates. Umm, the closest would be
> > a wacom tablet when used with its own mouse.
> We decided in the end to emulate a USB tablet, as some other virtualisers do.
> It works well out of the box with recent Linux distributions, and while older
> ones recognise it as a touchpad (in fact they use it through /dev/input/mice),
Yes, mousedev will provide workable approximation of standard mouse for
a device that provides absolute events. BTW, the fact that data from a
device is available from /dev/input/mice does not mean that device was
recognized as a mouse, a touchpad or something else. It just means that
kernel is able to approximate device as a standard PS/2 Expolorer mouse.
> it still provides a reasonable user experience until the user has installed our
> guest drivers.
It is your call but I would much rather if you worked on fixeng evdev to
work with your virtual device rather than having to install a new X
driver and going through the hoops trying to detect which one should be
used on a particular box. At least on Linux...
Thanks.
--
Dmitry
next prev parent reply other threads:[~2010-03-02 21:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-23 11:13 [PATCH 1/1]: input: add support for VirtualBox touchscreen emulation to the Lifebook driver Michael Thayer
2010-02-23 17:58 ` Dmitry Torokhov
2010-02-23 20:55 ` Michael Thayer
2010-02-24 10:02 ` Dmitry Torokhov
2010-02-24 11:46 ` Michael Thayer
2010-02-25 10:17 ` Dmitry Torokhov
2010-03-02 20:44 ` Michael Thayer
2010-03-02 21:28 ` Dmitry Torokhov [this message]
2010-03-02 22:00 ` Michael Thayer
2010-03-02 22:39 ` Dmitry Torokhov
2010-03-02 23:13 ` Michael Thayer
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=20100302212812.GA13499@core.coreip.homeip.net \
--to=dmitry.torokhov@gmail.com \
--cc=Michael.Thayer@Sun.COM \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox