HID get cookies given usage page and usage

Sage
Posts: 1,403
Joined: 2005.07
Post: #1
Ok so I have a io_registry_entry_t from HID (its my keyboard), and I want to find a particular cookie value for the entry with a certain usage and usage page.

this code does exactly what I need to do:
http://developer.apple.com/documentation...ion_4.html

but I really dont want to have to traverse this dictionary when the app starts up..

So does anyone out there know another way to do it?

Sir, e^iπ + 1 = 0, hence God exists; reply!
Quote this message in a reply
Sage
Posts: 1,403
Joined: 2005.07
Post: #2
Grin
I found copyMatchingElements and it does exactly what I want..
someone should put that on the apple page, its very misleading.

Sir, e^iπ + 1 = 0, hence God exists; reply!
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  FBX sdk usage via XCode iperKard 15 6,268 Dec 31, 2005 05:58 AM
Last Post: socksy