WUT  0.1
Wii U Toolchain
Data Structures | Typedefs | Enumerations | Functions
VPAD Input

Data Structures

struct  VPADVec2D
 
struct  VPADVec3D
 
struct  VPADTouchData
 
struct  VPADAccStatus
 
struct  VPADGyroStatus
 
struct  VPADStatus
 

Typedefs

typedef struct VPADVec2D VPADVec2D
 
typedef struct VPADVec3D VPADVec3D
 
typedef struct VPADTouchData VPADTouchData
 
typedef struct VPADAccStatus VPADAccStatus
 
typedef struct VPADGyroStatus VPADGyroStatus
 
typedef struct VPADStatus VPADStatus
 
typedef enum VPADButtons VPADButtons
 
typedef enum VPADTouchPadValidity VPADTouchPadValidity
 
typedef enum VPADReadError VPADReadError
 

Enumerations

enum  VPADButtons
 
enum  VPADTouchPadValidity
 
enum  VPADReadError
 

Functions

void VPADInit ()
 Deprecated. More...
 
int32_t VPADRead (uint32_t chan, VPADStatus *buffers, uint32_t count, VPADReadError *error)
 
void VPADGetTPCalibratedPoint (uint32_t chan, VPADTouchData *calibratedData, VPADTouchData *uncalibratedData)
 

Detailed Description

Typedef Documentation

typedef struct VPADVec2D VPADVec2D

Definition at line 14 of file input.h.

typedef struct VPADVec3D VPADVec3D

Definition at line 15 of file input.h.

typedef struct VPADTouchData VPADTouchData

Definition at line 16 of file input.h.

typedef struct VPADAccStatus VPADAccStatus

Definition at line 17 of file input.h.

Definition at line 18 of file input.h.

typedef struct VPADStatus VPADStatus

Definition at line 19 of file input.h.

typedef enum VPADButtons VPADButtons

Enumeration Type Documentation

Enumerator
VPAD_BUTTON_A 
VPAD_BUTTON_B 
VPAD_BUTTON_X 
VPAD_BUTTON_Y 
VPAD_BUTTON_LEFT 
VPAD_BUTTON_RIGHT 
VPAD_BUTTON_UP 
VPAD_BUTTON_DOWN 
VPAD_BUTTON_ZL 
VPAD_BUTTON_ZR 
VPAD_BUTTON_L 
VPAD_BUTTON_R 
VPAD_BUTTON_PLUS 
VPAD_BUTTON_MINUS 
VPAD_BUTTON_HOME 
VPAD_BUTTON_SYNC 
VPAD_BUTTON_STICK_R 
VPAD_BUTTON_STICK_L 
VPAD_BUTTON_TV 

Definition at line 21 of file input.h.

Enumerator
VPAD_VALID 

Both X and Y touchpad positions are accurate.

VPAD_INVALID_X 

X position is inaccurate.

VPAD_INVALID_Y 

Y position is inaccurate.

Definition at line 44 of file input.h.

Enumerator
VPAD_READ_SUCCESS 
VPAD_READ_NO_SAMPLES 
VPAD_READ_INVALID_CONTROLLER 

Definition at line 57 of file input.h.

Function Documentation

void VPADInit ( )

Deprecated.

int32_t VPADRead ( uint32_t  chan,
VPADStatus buffers,
uint32_t  count,
VPADReadError error 
)
void VPADGetTPCalibratedPoint ( uint32_t  chan,
VPADTouchData calibratedData,
VPADTouchData uncalibratedData 
)