Does the IRIS support the joystick?
David Marks
marks at AIVAX.RADC.AF.MIL
Tue Jun 25 22:36:14 AEST 1991
I am in the process of interfacing a 3D joystick to our 340VGX. It has a
RS232 interface. So far, I have been able to read its X, Y, Z and button
reports with no problem ( except the initial setup - 8bit no parity, ARGH).
Right now, I'm in the midst of getting a gl driver working so we can use
it like any other available gl device. The driver is based on the tabletd.c
driver which used to be found in ~4Dgifts/examples/... in previous releases.
It seems to work OK, reading the reports and calling gl_changedevice() to
tell gl about the changed device state. However, the application I've
modified to work with the joystick (~4Dgifts/.../paint.c) doesn't read the
events reliably. Its a back-burner project which I haven't touched in
3 weeks, and won't again for another 1 or 2, but if you have any questions
regarding what I have accomplished, ask away. If I get it working, I'll let
you know.
Dave Marks
Rome Laboratory
marks at aivax.radc.af.mil
More information about the Comp.sys.sgi
mailing list