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 1BJJUb-00034C-OW for qemu-devel@nongnu.org; Thu, 29 Apr 2004 17:54:53 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BJJTx-0002q1-PT for qemu-devel@nongnu.org; Thu, 29 Apr 2004 17:54:45 -0400 Received: from [38.113.3.61] (helo=babyruth.hotpop.com) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BJJJ6-0000Fp-Pl for qemu-devel@nongnu.org; Thu, 29 Apr 2004 17:43:00 -0400 Received: from phreaker.net (kubrick.hotpop.com [38.113.3.103]) by babyruth.hotpop.com (Postfix) with SMTP id AEB2A3CCCFE for ; Thu, 29 Apr 2004 21:18:49 +0000 (UTC) Date: Thu, 29 Apr 2004 17:41:54 -0400 From: "Jim C. Brown" Subject: Re: [Qemu-devel] [SDL] Problem with mouse grabbing Message-ID: <20040429214153.GA17222@jbrown.mylinuxbox.org> References: <20040423203518.GA19728@jbrown.mylinuxbox.org> <408C4D84.7090709@grandecom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <408C4D84.7090709@grandecom.net> Reply-To: jbrown106@swift-mail.com, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: gwa@alumni.cmu.edu, qemu-devel@nongnu.org On Sun, Apr 25, 2004 at 06:45:08PM -0500, Greg Alexander wrote: > QEMU Needs to grab the mouse because it emulates a real mouse, instead > of using a pseudo-mouse driver. I don't follow you here. How would using a pseudo-mouse driver fix it? > > As a result, mouse scaling will always be a problem, since all the user > has to do is change the mouse scaling in the host OS to cause problems > with the tracking (the scaling problem you noticed.) There must be some way to detect this. If we did know what the mouse scaling was, this should be easy to compensate for. > That's not to > mention if the mouse came in somewhere different from where it left. > There's nothing to cause the emulated mouse pointer to move to the > position where the real one entered the QEMU window. > It does for me, actually. And I didn't deliberately change any code to make it do this, either. It seems to be a side effect. > > GREG -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.