Eric Heft (eheft++at++dnaco.net)
Wed, 2 Jul 1997 14:21:57 -0400 (EDT)
This has got to be something simple. All I want to do is center the
mouse in the center of the screen before the rest of the perfly type
code. Heres what I'm trying to add in main.c
#include <gl.h>
#include <device.h>
...
setvaluator (MOUSEX, XMAXSCREEN/2, 0, XMAXSCREEN);
setvaluator (MOUSEY, YMAXSCREEN/2, 0, YMAXSCREEN);
...
I've tried putting the code fragment in the main and each of the
callbacks. I keep getting seg faults :(
How does one center the mouse?
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:34 PDT