I have been reading the example HID_Examples.
My understanding was that I have to recreate with xcode fxs
the structure I get with usb prober:
device info--> interface info ---> endpoint info
In the HID_Examples, First I obtain an io_object_t
"hidDevice" by searching with the
IOServiceGetMatchingServices for kIOHIDDeviceKey
then I obtain a IOHIDDeviceInterface ***hidDeviceInterface
>From there I expected to define two end points...
Instead the example defines an apriori cookie structure for
various characteristics of the joystick and concentrates
exclusively on "elements"
There is no way I can invent the kind of code I read in
HID_Examples. I can only follow it and try to understand
what if I anything I can use for my own purposes.
But I don't see what link there is between an interrupt IN
pipe which I need to read from and the cookies and elements
HID_example manipulates.
>From what I understand, endpoints and pipes are usb linguo,
and I need to write a usb application to get to it. I can't
get to it from HID because there is no example of it in
developer.apple.com. Do I understand the situation
correctly?
thanks
anne
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden
This email sent to email@hidden