qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Jim C. Brown" <jbrown106@phreaker.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] rfb patch and mouse movement
Date: Mon, 17 Jan 2005 10:22:10 -0500	[thread overview]
Message-ID: <20050117152210.GA5897@jbrown.mylinuxbox.org> (raw)
In-Reply-To: <41EB3DC0.7040804@wasp.net.au>

On Mon, Jan 17, 2005 at 08:23:28AM +0400, Brad Campbell wrote:
> Jim C. Brown wrote:
> 
> >>It worked by taking the data from the touchscreen, running it through the 
> >>relevant calibration routines and sending windows absolute mouse movement 
> >>messages. It worked rather well.
> >
> >
> >What "relevant calibration routines" are we looking at here?
> 
> Pretty simple linear scaling and axis inversion for touchscreens. Nothing 
> complex. Just calculate the max/min points based on some calibration, scale 
> them up to 16 bit values and feed them to windows using a mouse movement 
> message.

> 
> >>Perhaps we could use the touchscreen for movement only 
> >>and send clicks over the ps2 interface.
> >
> >
> >That would require an ugly custom guest driver.
> 
> Not really. Touchscreen drivers and mouse drives co-exist. Just send the 
> movement down the touch screen line and the clicks down the PS2 line. 
> Simple.
> 

Hmm .. if hardware which uses this method already exists, then it's a different
story.

Still, unless the calibration problem is solved, not worth the trouble.

> 
> Regards,
> Brad
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

  reply	other threads:[~2005-01-17 15:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-16  9:41 [Qemu-devel] rfb patch and mouse movement Brad Campbell
2005-01-16 14:35 ` Jim C. Brown
2005-01-17  4:23   ` Brad Campbell
2005-01-17 15:22     ` Jim C. Brown [this message]
2005-01-17 14:49   ` Johannes Schindelin
2005-01-17 15:18     ` Jim C. Brown
2005-01-17 18:02       ` Johannes Schindelin
2005-01-17 18:15         ` [Qemu-devel] " Ronald
2005-01-17 19:04           ` Johannes Schindelin

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=20050117152210.GA5897@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 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).