Header file for IOHIDEventSystemOpen
On the "General" thread a few days back was a link to this nifty little accelerometer hack that uses several unknown IOKit functions. I searched the Apple docs and found no sign of the following:
As an exercise, I'm converting the source from the above link to an "IPhoneAccelerometer" Cocoa class and have it mostly done except for the callback used in IOHIDEventSystemOpen. The source defines arguments a, b, c in handleHIDEvent but they're not used and I suspect they are either x, y, z coordinates of the accelerometer or three unknown arguments.
I don't have an iPhone yet (holding off til I finish a current project) so have no access to the headers for the above functions. Could someone post the header containing these prototypes here? Or if there are legal issues could you PM it to me?
Thanks in advance