wut
1.0.0-alpha
Wii U Toolchain
|
Data Structures | |
struct | KPADVec2D |
struct | KPADStatus |
union | KPADStatus.__unnamed__ |
struct | KPADStatus.__unnamed__.nunchuck |
struct | KPADStatus.__unnamed__.classic |
struct | KPADStatus.__unnamed__.pro |
Typedefs | |
typedef enum WPADChan | KPADChan |
typedef enum WPADDataFormat | KPADDataFormat |
typedef enum WPADExtensionType | KPADExtensionType |
typedef struct KPADStatus | KPADStatus |
typedef struct KPADVec2D | KPADVec2D |
typedef enum KPADError | KPADError |
Enumerations | |
enum | KPADError { KPAD_ERROR_OK = 0 } |
Functions | |
void | KPADInit () |
int32_t | KPADRead (KPADChan chan, KPADStatus *data, uint32_t size) |
int32_t | KPADReadEx (KPADChan chan, KPADStatus *data, uint32_t size, int32_t *error) |
struct KPADStatus |
Data Fields | ||
---|---|---|
uint32_t | hold | Indicates what KPADButtons are held down. |
uint32_t | trigger | Indicates what KPADButtons have been pressed since last sample. |
uint32_t | release | Indicates what KPADButtons have been released since last sample. |
KPADVec2D | pos | |
KPADVec2D | angle | |
uint8_t | extensionType | Value from KPADExtensionType. |
int8_t | error | Value from KPADError. |
uint8_t | posValid | |
uint8_t | format | Value from KPADDataFormat. |
union KPADStatus | __unnamed__ |
union KPADStatus.__unnamed__ |
Data Fields | ||
---|---|---|
__unnamed__ | nunchuck | |
__unnamed__ | classic | |
__unnamed__ | pro |
struct KPADStatus.__unnamed__.nunchuck |
struct KPADStatus.__unnamed__.classic |
struct KPADStatus.__unnamed__.pro |
typedef enum WPADDataFormat KPADDataFormat |
typedef enum WPADExtensionType KPADExtensionType |
typedef struct KPADStatus KPADStatus |
void KPADInit | ( | ) |
int32_t KPADRead | ( | KPADChan | chan, |
KPADStatus * | data, | ||
uint32_t | size | ||
) |
int32_t KPADReadEx | ( | KPADChan | chan, |
KPADStatus * | data, | ||
uint32_t | size, | ||
int32_t * | error | ||
) |