| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
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)
| References: | |
| >re: HID Utilities Library (From: George Warner <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.