From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BLqlU-00043d-0l for qemu-devel@nongnu.org; Thu, 06 May 2004 17:50:48 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BLqkr-0003pM-Ad for qemu-devel@nongnu.org; Thu, 06 May 2004 17:50:40 -0400 Received: from [38.113.3.71] (helo=twix.hotpop.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BLqkq-0003p8-Re for qemu-devel@nongnu.org; Thu, 06 May 2004 17:50:08 -0400 Received: from phreaker.net (kubrick.hotpop.com [38.113.3.103]) by twix.hotpop.com (Postfix) with SMTP id 1C3A5F540AB for ; Thu, 6 May 2004 21:34:23 +0000 (UTC) Received: from jbrown.mylinuxbox.org (pcp02555028pcs.batlfl01.tn.comcast.net [68.60.22.179]) by smtp-2.hotpop.com (Postfix) with ESMTP id DA13B41D4BB for ; Thu, 6 May 2004 21:23:54 +0000 (UTC) Date: Thu, 6 May 2004 17:48:53 -0400 From: "Jim C. Brown" Subject: Re: [Qemu-devel] Re: Host <-> guest interface port? Message-ID: <20040506214853.GA12331@jbrown.mylinuxbox.org> References: <4098154B.1050804@bellard.org> <20040505025800.GA9884@jbrown.mylinuxbox.org> <4099057D.5010907@aclaro.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4099057D.5010907@aclaro.com> 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 Wed, May 05, 2004 at 09:17:17AM -0600, Matthew Mastracci wrote: > Since the host knows exactly where the guest cursor is (the guest is > sending cursor location updates), it can release the mouse when the > guest cursor is against the edge of the screen. This works in reverse > as well - when the mouse is moved over the QEMU screen, the host > captures it (hiding the local cursor) and updates the guest location to > match. It's a seamless transition from real mouse to virtual mouse. > > The guest can also hide and show the guest OS cursor as it is > captured/released. You'll only see the cursor in the guest if it is > captured by QEMU. > > Matt. > This is tricky though, especially when you try to set the mouse to the spot where it enters the window. I personally prefer the Synaptic Touchpad solution, since we won't need to grab the mouse at all that way. (Right now I'm using a patched qemu where the guest mouse follows the host mouse w/o using SDL grab, and sometimes it will go all over the place.) > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://mail.nongnu.org/mailman/listinfo/qemu-devel -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.