nanogui: tpcal and NanoX on Helio


Previous by date: 31 Jan 2001 23:50:16 -0000 Re: Bug in Dynamic linker question, Alex Holden
Next by date: 31 Jan 2001 23:50:16 -0000 Re: stripping libraries, Yu Xuanwei
Previous in thread:
Next in thread: 31 Jan 2001 23:50:16 -0000 Re: tpcal and NanoX on Helio, Robert Hartley

Subject: tpcal and NanoX on Helio
From: Robert Hartley ####@####.####
Date: 31 Jan 2001 23:50:16 -0000
Message-Id: <3A78A579.25AC479D@ics.com>

Hi,

I have been doing my own version of tpcal using NanoX inside my app.

my program  sequence is:
enable_pointing_coordinate_transform = 0;
GrOpen()
GdRestrictMouse(-big, -big, big, big);
 enable_pointing_coordinate_transform = 0;
GrNewWindow(0,0, 1600, 1600 ....);

I found that my mouse movements were stuck within the size of the
created window, but I want to trap them even when outside the window so
that I can do my own scaling.

I cannot seem to get any events whose x or y is > 159

Running tpcal gives me the following:
0 0 268511056 4223360 0 4803712 4194552

leaving that data in /etc/pointercal  does nothing for me.

The mouse is trapped with or without tpcal data in a small area in the
upper left hand corner, about 160/1024 in size of the scren.


How can I tell NanoX to just give me all of the mouse movemment events
without any processing, clipping, or scaling?

I know I could easily drop to a lower level and grab the info from
/dev/tpanel myself, but that is offensive in the face of the elegance
and portability of Nanox and MicroWindows.

Could someone please let me know what I am missing?

I feel I am so close to finishing this thing that it is driving me
crazy,

Thanks all for your past support,

Robert



--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=  Robert Hartley                 Mail:         201 Broadway        =
=  Central Region Systems Engineer              Cambridge, MA 02139 =
=  Integrated Computer            Email:        ####@####.####    =
=  Solutions, Inc.                Web Site:     www.ics.com         =
=  Tech Support: ####@####.####  Phone:        800-800-4271        =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Visit the MotifZone (www.motifzone.org) for info on Motif!




Previous by date: 31 Jan 2001 23:50:16 -0000 Re: Bug in Dynamic linker question, Alex Holden
Next by date: 31 Jan 2001 23:50:16 -0000 Re: stripping libraries, Yu Xuanwei
Previous in thread:
Next in thread: 31 Jan 2001 23:50:16 -0000 Re: tpcal and NanoX on Helio, Robert Hartley


Powered by ezmlm-browse 0.20.