Mailing Lists: Apple Mailing Lists

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

Possible to ignore kIOHIDOptionsTypeSeizeDevice ?



Hi,

I'm trying to capture a pointing device using the HIDCreateOpenDeviceInterface call from the HID Utils which I have altered to use the kIOHIDOptionsTypeSeizeDevice flag. Here's the line I changed:

result = (*(IOHIDDeviceInterface**)pDevice->interface)->open (pDevice- >interface, kIOHIDOptionsTypeSeizeDevice);

This seems to work with most devices but the particular one I need to capture in my app doesn't seem to let me seize it. The call doesn't fail (result == 0 right after) but the system continues to interact with the device and the app can't get data from it. Has anyone seen something like this before?

Thanks.

_______________________________________________
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


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.