[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] touchscreen screen coordinates

From: dmlist
Subject: [Qemu-devel] [PATCH] touchscreen screen coordinates
Date: Tue, 19 Jun 2007 10:34:54 -0700

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

(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.


Attachment: qemu-0.9.0-touch.patch
Description: Text Data

Attachment: qemu-20070619-touch.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]