rendered paste body//---------------------------------------------------------------------------// 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; index<bufferSize; index++) printf("%2.2x ", hidDataRef->buffer[index]); printf("\n");}