[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
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.
-Don
qemu-0.9.0-touch.patch
Description: Text Data
qemu-20070619-touch.patch
Description: Text Data
- [Qemu-devel] [PATCH] touchscreen screen coordinates,
dmlist <=