Re: Controlling the cursor position

New Message Reply Date view Thread view Subject view Author view

Nathaniel Bletter (nat++at++od.sri.com)
Tue, 7 Mar 1995 14:35:45 -0800


On Mar 7, 1:22pm, Satish K. Annapureddy wrote:
> I am wondering if there is a function in performer (pf, pr or pfu
libraries)
> that allows the programmer
> to control the cursor position .. for example in setting it at the middle of
> the screen when certain events
> such as collision etc occur, so that I can stop turning around in the
scene.
> ( In my application, the user
> changes his/her heading depending upon the distance from the center of the
> screen.)

You can use the GL command setvaluator(MOUSEX, init, min, max) to set the x and
y of the cursor and its limits of motion.

-- 

Nat Bletter SRI International nat++at++od.sri.com (415) 859-4358


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:02 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.