From: Brad Campbell <brad@wasp.net.au>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Grabless pointer
Date: Thu, 09 Feb 2006 21:31:18 +0400 [thread overview]
Message-ID: <43EB7C66.4070207@wasp.net.au> (raw)
In-Reply-To: <Pine.LNX.4.64.0602090016250.1575@home.oyster.ru>
malc wrote:
> At http://www.boblycat.org/~malc/code/patches/qemu/1_mqemu.tgz you will
> find two patches and binary XFree86 module that allows grabless mouse
> operation.
>
> Steps:
> a. patch QEMU with 1_mqemu.patch
> b. in the guest copy mouse_drv.o to /usr/X11R6/lib/modules/input
>
> Binary mouse_drv.o should work on all XFree86 (and derivatives such as
> X.Org) given that they are older than 4.1.
>
> You can also fetch X410src-1.tgz from somewhere copy mouse.c (or patch
> the orignal with 1_mouse.patch) and build it yourself.
>
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..
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.
--
"Human beings, who are almost unique in having the ability
to learn from the experience of others, are also remarkable
for their apparent disinclination to do so." -- Douglas Adams
next prev parent reply other threads:[~2006-02-09 17:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-08 21:24 [Qemu-devel] Grabless pointer malc
2006-02-09 9:09 ` Mike Kronenberg
2006-02-09 12:51 ` malc
2006-02-09 18:03 ` Mike Kronenberg
2006-02-09 16:17 ` Jim C. Brown
2006-02-09 20:20 ` Paul Brook
2006-02-09 17:31 ` Brad Campbell [this message]
2006-02-09 22:00 ` malc
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=43EB7C66.4070207@wasp.net.au \
--to=brad@wasp.net.au \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).