nanogui: touch panel driver for microwindow


Previous by date: 23 May 2000 23:28:38 -0000 Re: [Nano-X] GrNewPixmap and GrGetWindowInfo, Greg Haerr
Next by date: 23 May 2000 23:28:38 -0000 Re: [Nano-X] A program for perfomance measure, Greg Haerr
Previous in thread: 23 May 2000 23:28:38 -0000 Re: touch panel driver for microwindow, Greg Haerr
Next in thread:

Subject: Re: touch panel driver for microwindow
From: Jun Sun ####@####.####
Date: 23 May 2000 23:28:38 -0000
Message-Id: <392B13FE.D7DE2C2@mvista.com>

Greg Haerr wrote:
> 
> : Touch panel code (drivers/mou_tp.c) is broken for v0.88pre6.  I fixed it
> : and it works again.
> 
> Please send me the changes for this.  Or is it just the XYPOINT -> MWPOINT?

Mostly it is XYPOINT -> MWPOINT.  But I also have to lower low_z_limit
value to 800 to 815 in order to get meaningful enough sample points.

> 
> :
> : The only problem seems to be double-clicking.  Often times,
> : double-clicking becomes two small-step window movings.
> :
> : How is double-click implemented?  What is considered a double click?  I
> : might be able to modify the driver a little bit to make it more double
> : click friendly.
> 
> Double-clicking is implemented in Microwindows by recording the time
> for each click down and up on the touch panel/mouse.  If the clicks are
> < 250ms apart (defined somewhere in mwin/winuser.c, or winevent.c, I think)
> then the second down click is converted into a double click.
> 

Thanks for tip.

I looked into it more.  It got better after I enlarge the number of
pixels for skewing and the double-click interval time.

Jun

Previous by date: 23 May 2000 23:28:38 -0000 Re: [Nano-X] GrNewPixmap and GrGetWindowInfo, Greg Haerr
Next by date: 23 May 2000 23:28:38 -0000 Re: [Nano-X] A program for perfomance measure, Greg Haerr
Previous in thread: 23 May 2000 23:28:38 -0000 Re: touch panel driver for microwindow, Greg Haerr
Next in thread:


Powered by ezmlm-browse 0.20.