//--------------------------------------------------------------------------- // InterruptReportCallbackFunction //--------------------------------------------------------------------------- void InterruptReportCallbackFunction (void * target, IOReturn result, void * refcon, void * sender, UInt32 bufferSize) { HIDDataRef hidDataRef = (HIDDataRef)refcon; int index; if ( !hidDataRef ) return; printf("Buffer = "); for ( index=0; indexbuffer[index]); printf("\n"); }