Re: USB Control Interface
Re: USB Control Interface
- Subject: Re: USB Control Interface
- From: Florent Pillet <email@hidden>
- Date: Tue, 23 Nov 2004 15:25:26 +0100
You can easily control a USB device from a userland application (like
Cocoa) without needing to write a driver, as long as you have enough
information to control your USB device. I guess it will require that,
for your needs, you have the list of control codes supported by the
device.
There are good examples of code in Apple's samples on how to get
notified when a particular device or device class connects and how to
control it.
Documentation is at
http://developer.apple.com/referencelibrary/DeviceDrivers/idxUSB-
date.html, and some QAs at
http://developer.apple.com/qa/qa2004/qa1370.html
Florent
On 18 nov. 04, at 22:25, Peter Browne wrote:
I want to be able to control a simple set of motors from within a
cocoa application (to provide the ability to tilt a platform up and
down, and rotate around 360 degrees horizontally). Does anyone know
where I might be able to find a USB servo interface of some sort that
can be programmed and used under mac os. So far, I've only found PC
specific devices that have to be programmed using things like visual
basic etc. If anyone can point me in the direction of something that I
can use with the mac, and write in some sort of C to incorporate in a
cocoa application, I would be incredibly grateful! I realise this is
something of a long shot!
--
Florent Pillet, Code Segment email@hidden
Freelance software developer/consultant - Palm OS & Mac OS X
ICQ: 117292463 http://www.florentpillet.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden