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: HID Utilities Library



On Tue, 17 Sep 2002 16:15:17 -0500, Ray <email@hidden> wrote:
> Has the HID Utilities Lib code change recently (mainly for 10.2)?

Nope. But the HID Family drivers did add usage page & usage matching in
Jaguar. This means that prior to Jaguar that the I/O iterator would returns
all devices (ignoring whether the page & usages matched or not).

What this means is that if you plagiarized our sample code and used this
line as-is:

HIDBuildDeviceList(kHIDPage_GenericDesktop, kHIDUsage_GD_GamePad);

Then you still got ALL HID devices (not just game pads) until Jaguar shipped
and then suddenly all your non-gamepad devices disappeared.

To fix this you can just pass zero's for the page & usage:

HIDBuildDeviceList(0, 0);

This will return all HID devices.

> I have a user with a "Belkin Nostromo n50" USB joystick/like device that
> doesn't show up when enumerating the devices.

This is most likely the problem above.

> He has said some games show the device up with a blank name, but HID utilities
> didn't even do that for me.

A blank name is probably something else.

> Does anyone have any thoughts in this?

No. ;-)

> I'm tempted to go to best buy and get one to test with and then return it.

Hold off until you check you HIDBuildDeviceList code. ;-)


--
Enjoy,
George Warner,
Mixed Mode Magic Fragment Scientist
Apple Developer Technical Support (DTS)
_______________________________________________
mac-games-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/mac-games-dev
Do not post admin requests to the list. They will be ignored.



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.