wut  v1.7.0
Wii U Toolchain
Data Structures | Typedefs | Functions
Raw HID data of the DRCs
Collaboration diagram for Raw HID data of the DRCs:

Data Structures

struct  CCRHIDReport
 

Typedefs

typedef struct CCRHIDReport CCRHIDReport
 

Functions

int32_t CCRHIDStart (uint32_t drcSlot, CCRHIDReport *reportsBuffer, uint32_t numReports, IOSAsyncCallbackFn callback, void *arg)
 Start transmission of HID reports from the specified DRC. More...
 
int32_t CCRHIDStop (uint32_t drcSlot, IOSAsyncCallbackFn callback, void *arg)
 Stop HID report transmission. More...
 
int32_t CCRHIDGetData (uint32_t drcSlot, CCRHIDReport *reportData)
 
int32_t CCRHIDGetBufferedData (uint32_t drcSlot, CCRHIDReport *reportData)
 
int32_t CCRHIDGetFirmwareVersion (CCRHIDReport *report, uint32_t *firmwareVersion)
 
int32_t CCRHIDGetSequence (CCRHIDReport *report, uint32_t *sequence)
 

Detailed Description


Data Structure Documentation

◆ CCRHIDReport

struct CCRHIDReport

Definition at line 18 of file hid.h.

Typedef Documentation

◆ CCRHIDReport

typedef struct CCRHIDReport CCRHIDReport

Definition at line 1 of file hid.h.

Function Documentation

◆ CCRHIDStart()

int32_t CCRHIDStart ( uint32_t  drcSlot,
CCRHIDReport reportsBuffer,
uint32_t  numReports,
IOSAsyncCallbackFn  callback,
void *  arg 
)

Start transmission of HID reports from the specified DRC.

Parameters
drcSlotThe DRC to read the HID reports from (0 or 1).
reportsBufferAligned buffer to read reports to.
numReportsThe amount of reports the buffer can store.
Returns
0 on success.

◆ CCRHIDStop()

int32_t CCRHIDStop ( uint32_t  drcSlot,
IOSAsyncCallbackFn  callback,
void *  arg 
)

Stop HID report transmission.

Parameters
drcSlotThe DRC to read the HID reports from (0 or 1).
Returns
0 on success.

◆ CCRHIDGetData()

int32_t CCRHIDGetData ( uint32_t  drcSlot,
CCRHIDReport reportData 
)

◆ CCRHIDGetBufferedData()

int32_t CCRHIDGetBufferedData ( uint32_t  drcSlot,
CCRHIDReport reportData 
)

◆ CCRHIDGetFirmwareVersion()

int32_t CCRHIDGetFirmwareVersion ( CCRHIDReport report,
uint32_t *  firmwareVersion 
)

◆ CCRHIDGetSequence()

int32_t CCRHIDGetSequence ( CCRHIDReport report,
uint32_t *  sequence 
)