From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F7Joz-0000qK-6O for qemu-devel@nongnu.org; Thu, 09 Feb 2006 16:59:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F7Jow-0000lx-C2 for qemu-devel@nongnu.org; Thu, 09 Feb 2006 16:59:24 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F7Jov-0000lA-DJ for qemu-devel@nongnu.org; Thu, 09 Feb 2006 16:59:21 -0500 Received: from [217.10.32.19] (helo=comtv.ru) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F7JsY-0002BI-6J for qemu-devel@nongnu.org; Thu, 09 Feb 2006 17:03:06 -0500 Received: from av1474.oops ([10.0.66.9] verified) by comtv.ru (CommuniGate Pro SMTP 4.1.8) with ESMTP id 132243180 for qemu-devel@nongnu.org; Fri, 10 Feb 2006 00:59:17 +0300 Date: Fri, 10 Feb 2006 01:00:33 +0300 (MSK) From: malc Subject: Re: [Qemu-devel] Grabless pointer In-Reply-To: <43EB7C66.4070207@wasp.net.au> Message-ID: References: <43EB7C66.4070207@wasp.net.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 On Thu, 9 Feb 2006, Brad Campbell wrote: > > I wrote a userspace touchscreen driver years ago that worked on win95-> and > would probably still work on the latest and greatest.. it was actually a > userspace application that talked to the touchscreen over rs232.. I could > probably modify that to work here.. > > I'm gathering that if I read from 0xbad I'm going to get the absolute mouse > position and by writing to 0xbad I can turn the sdl cursor on or off.. Reading part is correct, writing part is not, code is simple and can explain things better than words. > > What happens with mouse clicks? do they still come over the ps2 interface? > To make this work with what I have in mind we'd have to disable the ps2 > position updates to the guest when the mouse app starts on the client and use > the read port to give position updates. We would still pass the clicks > through the ps2 interface however. Everything still goes over the ps2 interface, but relative coordinates are just ignored. -- mailto:malc@pulsesoft.com