Gilles Petit wrote:
> Hi all,
> I got a little problem while tryng to detect the position of the pen in 
> High Res mode.
> I use the following to switch in High Res (it works well, I got pretty
> picture)

[snip]

> And there I just got (0,160) values...never 250 ;( And of course I need 
> to have values in the range (0,320).
> Do someone got an idea?

Just curious, because I've seen a number of people ask about high-resolution
pen coordinates: Is it really useful?

According the Programmer's Companion, the typical digitizer is precise only to
within 0.0138" (0.35 mm).  On a double-density device with a 2"x2" screen, to
have 320 distinct x or y values, the digitizer would need to be precise to
within 0.00625" or less.  Plus, the user will be using a stylus that's several
millimeters thick.

Therefore, since the precision doesn't really matter AFAICT, you can set the
coordinate system and use the WinScale.../WinUnscale... functions without
losing anything important.

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to