RetroArch
Classes | Macros | Typedefs | Functions
syshid.h File Reference
#include <wiiu/types.h>
Include dependency graph for syshid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HIDDevice
 
struct  _HIDClient
 

Macros

#define HID_DEVICE_DETACH   0
 
#define HID_DEVICE_ATTACH   1
 

Typedefs

typedef struct _HIDClient HIDClient
 
typedef int32_t(* HIDAttachCallback) (HIDClient *p_hc, HIDDevice *p_hd, uint32_t attach)
 
typedef void(* HIDCallback) (uint32_t handle, int32_t error, uint8_t *p_buffer, uint32_t bytes_transferred, void *p_user)
 

Functions

int32_t HIDSetup (void)
 
int32_t HIDTeardown (void)
 
int32_t HIDAddClient (HIDClient *p_client, HIDAttachCallback attach_callback)
 
int32_t HIDDelClient (HIDClient *p_client)
 
int32_t HIDGetDescriptor (uint32_t handle, uint8_t descriptor_type, uint8_t descriptor_index, uint16_t language_id, uint8_t *p_buffer, uint32_t buffer_length, HIDCallback hc, void *p_user)
 
int32_t HIDSetDescriptor (uint32_t handle, uint8_t descriptor_type, uint8_t descriptor_index, uint16_t language_id, uint8_t *p_buffer, uint32_t buffer_length, HIDCallback hc, void *p_user)
 
int32_t HIDGetReport (uint32_t handle, uint8_t report_type, uint8_t report_id, uint8_t *p_buffer, uint32_t buffer_length, HIDCallback hc, void *p_user)
 
int32_t HIDSetReport (uint32_t handle, uint8_t report_type, uint8_t report_id, uint8_t *p_buffer, uint32_t buffer_length, HIDCallback hc, void *p_user)
 
int32_t HIDSetIdle (uint32_t handle, uint8_t interface_index, uint8_t duration, HIDCallback hc, void *p_user)
 
int32_t HIDSetProtocol (uint32_t handle, uint8_t interface_index, uint8_t protocol, HIDCallback hc, void *p_user)
 
int32_t HIDGetProtocol (uint32_t handle, uint8_t interface_index, uint8_t *protocol, HIDCallback hc, void *p_user)
 
int32_t HIDRead (uint32_t handle, uint8_t *p_buffer, uint32_t buffer_length, HIDCallback hc, void *p_user)
 
int32_t HIDWrite (uint32_t handle, uint8_t *p_buffer, uint32_t buffer_length, HIDCallback hc, void *p_user)
 

Macro Definition Documentation

◆ HID_DEVICE_ATTACH

#define HID_DEVICE_ATTACH   1

◆ HID_DEVICE_DETACH

#define HID_DEVICE_DETACH   0

Typedef Documentation

◆ HIDAttachCallback

typedef int32_t(* HIDAttachCallback) (HIDClient *p_hc, HIDDevice *p_hd, uint32_t attach)

◆ HIDCallback

typedef void(* HIDCallback) (uint32_t handle, int32_t error, uint8_t *p_buffer, uint32_t bytes_transferred, void *p_user)

◆ HIDClient

typedef struct _HIDClient HIDClient

Function Documentation

◆ HIDAddClient()

int32_t HIDAddClient ( HIDClient p_client,
HIDAttachCallback  attach_callback 
)
Here is the caller graph for this function:

◆ HIDDelClient()

int32_t HIDDelClient ( HIDClient p_client)
Here is the caller graph for this function:

◆ HIDGetDescriptor()

int32_t HIDGetDescriptor ( uint32_t  handle,
uint8_t  descriptor_type,
uint8_t  descriptor_index,
uint16_t  language_id,
uint8_t p_buffer,
uint32_t  buffer_length,
HIDCallback  hc,
void p_user 
)

◆ HIDGetProtocol()

int32_t HIDGetProtocol ( uint32_t  handle,
uint8_t  interface_index,
uint8_t protocol,
HIDCallback  hc,
void p_user 
)

◆ HIDGetReport()

int32_t HIDGetReport ( uint32_t  handle,
uint8_t  report_type,
uint8_t  report_id,
uint8_t p_buffer,
uint32_t  buffer_length,
HIDCallback  hc,
void p_user 
)

◆ HIDRead()

int32_t HIDRead ( uint32_t  handle,
uint8_t p_buffer,
uint32_t  buffer_length,
HIDCallback  hc,
void p_user 
)
Here is the caller graph for this function:

◆ HIDSetDescriptor()

int32_t HIDSetDescriptor ( uint32_t  handle,
uint8_t  descriptor_type,
uint8_t  descriptor_index,
uint16_t  language_id,
uint8_t p_buffer,
uint32_t  buffer_length,
HIDCallback  hc,
void p_user 
)

◆ HIDSetIdle()

int32_t HIDSetIdle ( uint32_t  handle,
uint8_t  interface_index,
uint8_t  duration,
HIDCallback  hc,
void p_user 
)
Here is the caller graph for this function:

◆ HIDSetProtocol()

int32_t HIDSetProtocol ( uint32_t  handle,
uint8_t  interface_index,
uint8_t  protocol,
HIDCallback  hc,
void p_user 
)
Here is the caller graph for this function:

◆ HIDSetReport()

int32_t HIDSetReport ( uint32_t  handle,
uint8_t  report_type,
uint8_t  report_id,
uint8_t p_buffer,
uint32_t  buffer_length,
HIDCallback  hc,
void p_user 
)
Here is the caller graph for this function:

◆ HIDSetup()

int32_t HIDSetup ( void  )

◆ HIDTeardown()

int32_t HIDTeardown ( void  )

◆ HIDWrite()

int32_t HIDWrite ( uint32_t  handle,
uint8_t p_buffer,
uint32_t  buffer_length,
HIDCallback  hc,
void p_user 
)
Here is the caller graph for this function: