Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Serial spaceball support in GLUT?



To be a "spaceball" in GLUT it needs to be a HID compliant device that reports 6 axis.  This moment I can't recall whether I have it looking for particular axis or not (I strongly suspect not).  So, without knowing more details I suspect your serial device is not a HID compliant device and thus can't be detected by the HiD services and thus GLUT has no idea it is there. 


On Sep 20, 2004, at 6:04 AM, David Duncan wrote:

On Sep 20, 2004, at 05:06 AM, Howard Jones wrote:
I have an old serial Spaceball 4000, and noticed yesterday that the GLUT demo applications have support for spaceballs in them. How do they detect the spaceball controller? I've tried connecting mine using a USB-Serial adapter, in case it 'just works', and it doesn't.

Googling finds nothing much more than patches for older versions, and the release notes for GLUT 3.7.

Is it possible to use this controller with my mac and GLUT?

GLUT uses the HID manager to discover devices, but also relies on the class of the device in order to know what to do with it. Likely when you use a USB-Serial adapter, this information is not available (as it isn't available via serial and the adapter has it's own class). Thus your serial spaceball doesn't work.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.


David Duncan

---
Geoff Stahl
3D Software Engineer
Apple

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden
References: 
 >Serial spaceball support in GLUT? (From: Howard Jones <email@hidden>)
 >Re: Serial spaceball support in GLUT? (From: David Duncan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.