#include <cafe/hid.h> typedef void (*HIDCallback)( u32 handle, HID_ERROR_CODE error, u8 *p_buffer, u32 bytes_transferred, void *p_user );
|p_buffer||Data buffer associated with the transaction request.|
|bytes_transferred||Number of bytes transferred for the transaction request.|
|p_user||User-specified pointer to associate with the transaction request.|
HID transaction functions can be called in an asynchronous or synchronous (blocking) manner.
HIDCallback is implemented by HID clients to receive notification of asynchronous transaction completion.
|Background||Do not call this function from the background.|
2013-05-08 Automated cleanup pass.
2011-09-29 Initial version.