From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cq79r-00081u-3y for qemu-devel@nongnu.org; Sun, 16 Jan 2005 04:57:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cq79Z-0007ww-TI for qemu-devel@nongnu.org; Sun, 16 Jan 2005 04:57:15 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cq79Z-0007wM-HR for qemu-devel@nongnu.org; Sun, 16 Jan 2005 04:57:01 -0500 Received: from [203.190.192.17] (helo=wasp.net.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cq6u5-0002TV-S0 for qemu-devel@nongnu.org; Sun, 16 Jan 2005 04:41:02 -0500 Message-ID: <41EA36B5.4020302@wasp.net.au> Date: Sun, 16 Jan 2005 13:41:09 +0400 From: Brad Campbell MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] rfb patch and mouse movement Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org G'day all, I have shoehorned the latest rfb patch http://libvncserver.sourceforge.net/qemu/qemu-rfb9.patch.gz into the latest CVS Qemu. I'm having a few issues at the moment with mouse calibration under Windows XP. (A few issues with keypresses not being passed on also, but I'm sure that is entirely to do with the way I have integrated the patch) I recall at some point, someone was working on emulating a synaptic touchpad to enable non-relative mouse input. I was having a think. Years ago I wrote some windows userspace drivers for touchscreens. MicroTouch and ELOTouch from memory. I still have the code around somewhere. It worked by taking the data from the touchscreen, running it through the relevant calibration routines and sending windows absolute mouse movement messages. It worked rather well. What I was thinking was perhaps emulating a serial port touchscreen, which would work with any OS that had support for one of those screens. A serial port being dead easy to accurately emulate and the touchscreen protocols are super simple to work with. Only hitch being you only get a single button to play with. Perhaps we could use the touchscreen for movement only and send clicks over the ps2 interface. Just a wildly meandering thought as I struggle to make this session of qemu with vnc workable with Windows XP. Thoughts? Brad