Dave Russell (drussell++at++ist.ucf.edu)
Tue, 28 Jan 1997 15:18:34 -0500
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
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:29 PDT