[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] rfb patch and mouse movement
From: |
Jim C. Brown |
Subject: |
Re: [Qemu-devel] rfb patch and mouse movement |
Date: |
Mon, 17 Jan 2005 10:22:10 -0500 |
User-agent: |
Mutt/1.4i |
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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
--
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.