All pastes #422765 Raw Edit

Stuff

public c v1 · immutable
·published 2007-04-03 17:58 UTC
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");}