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: Possible to ignore kIOHIDOptionsTypeSeizeDevice ?



By the way, I'm using 10.4. I'm using the sample code from HID Explorer to test this:
http://developer.apple.com/samplecode/HID_Explorer/HID_Explorer.html


The pointing device in question doesn't respond in the explorer. Other USB devices do.

Thanks.



On Aug 15, 2005, at 2:55 PM, Ben Hanks wrote:

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
References: 
 >Possible to ignore kIOHIDOptionsTypeSeizeDevice ? (From: Ben Hanks <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.