Spaceball Interface

New Message Reply Date view Thread view Subject view Author view

Dave Russell (drussell++at++ist.ucf.edu)
Tue, 28 Jan 1997 15:18:34 -0500


After several days of investigation, I must admit apparent defeat and ask for
help on this issue. I perused the archives last Thursday and noted that a
question involving accessing a spaceball in Performer was posted with no
apparent responses. I'm now asking for help in this matter.

I have code which has been used in the past to access a spaceball through the
GL event queue. Unfortunately, this code will obviously not function in the
OpenGL/X environment that I am now trying to support. I have found reference
to and examples of accessing the spaceball through SGI X extensions, but have
not found a way to allow these to work in conjunction with the pfuGetEvent()
system of event handling. I have come to the conclusion that I have three real
choices as to how to proceed. I would like corrections if there is another
option or opinions on how to proceed with the best of these options:

1) Modify the pfutil library source to make use of the Spaceball Extensions.
 (Ugghh, create a "proprietary" Performer library)

2) Make my own X event handler which in many ways mimicks the pfutil library
functionality (Ugghh, create a "proprietary" Performer library, but don't call
it that)

3) Quit fooling with X, write a serial based driver directly for the spaceball
and create some kind of event queue of my own to handle the whole ugly mess.

Of course, I'm not real fond of any of these options as they are far more
complicated than I had ever expected, but I'd certainly appreciate any words of
wisdom related to this particular problem.

-- 
David Russell                          |    	
Visual Systems Lab                     |      Static worlds breed	
Institute for Simulation and Training  |         static minds.
                                       |	     
drussell++at++ist.ucf.edu                   |  CHANGE YOUR (virtual) WORLD!
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

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:54:29 PDT

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