All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jim C. Brown" <jbrown106@phreaker.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: Host <-> guest interface port?
Date: Thu, 6 May 2004 17:48:53 -0400	[thread overview]
Message-ID: <20040506214853.GA12331@jbrown.mylinuxbox.org> (raw)
In-Reply-To: <4099057D.5010907@aclaro.com>

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.

      reply	other threads:[~2004-05-06 21:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-04 16:16 [Qemu-devel] Host <-> guest interface port? Matthew Mastracci
2004-05-04 22:12 ` Fabrice Bellard
2004-05-04 22:46   ` Michael L Torrie
2004-05-04 23:32   ` [Qemu-devel] " Matthew Mastracci
2004-05-05 18:31     ` Fabrice Bellard
2004-05-05  2:58   ` [Qemu-devel] " Jim C. Brown
2004-05-05 15:17     ` [Qemu-devel] " Matthew Mastracci
2004-05-06 21:48       ` Jim C. Brown [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040506214853.GA12331@jbrown.mylinuxbox.org \
    --to=jbrown106@phreaker.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.