From: "andrzej zaborowski" <balrogg@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] touchscreen screen coordinates
Date: Wed, 20 Jun 2007 01:04:44 +0200 [thread overview]
Message-ID: <fb249edb0706191604v5806d0b7t3ae41859a9f55afd@mail.gmail.com> (raw)
In-Reply-To: <1182274494.6537.1195974043@webmail.messagingengine.com>
Hi,
On 19/06/07, dmlist@openright.org <dmlist@openright.org> wrote:
>
> Attached is a simple patch (for 0.9.0 and current cvs), that allows:
>
> -usbdevice touchscreen
>
> which behaves the same as touchpad, except the coordinates are screen
> coordinates instead of scaled 32768 coordinates.
>
> This makes qemu compatible with tslib, often used by xserver-kdrive.
> tslib does not scale usb input to screen. tslib assumes input is screen
> coordinates.
To be precise, tslib assumes that you calibrate the touchscreen on
first boot, or have an /etc/pointercal file provided. So this is
another way to have it report the right coordinates.
>
> (Well tslib requires a small patch to allow button events to work like
> pressure events).
>
> Perhaps an additional or alternative change could separate usb
> touchscreen support from tablet, such that ABS_PRESSURE events are
> generated instead of left button.
This is why -usbdevice wacom-tablet was added. It lets you use
unmodified tslib because the linux driver for the tablet reports also
touch pressure. It works for OpenEmbedded builds for i386 and arm
(although for arm there is also the ADS7846 touchscreen).
Adding a HID touchscreen may be another possibility.
Regards,
Andrzej
prev parent reply other threads:[~2007-06-19 23:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-19 17:34 [Qemu-devel] [PATCH] touchscreen screen coordinates dmlist
2007-06-19 23:04 ` andrzej zaborowski [this message]
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=fb249edb0706191604v5806d0b7t3ae41859a9f55afd@mail.gmail.com \
--to=balrogg@gmail.com \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).