wut
v1.7.0
Wii U Toolchain
|
#include <wut.h>
Go to the source code of this file.
Data Structures | |
struct | HPADStatus |
struct | HPADGGGGStatus |
Macros | |
#define | HPAD_STICK_AXIS_MIN -56 |
The minimum value of the stick axis. More... | |
#define | HPAD_STICK_AXIS_MAX 56 |
The maximum value of the stick axis. More... | |
#define | HPAD_SUBSTICK_AXIS_MIN -44 |
The minimum value of the substick axis. More... | |
#define | HPAD_SUBSTICK_AXIS_MAX 44 |
The maximum value of the substick axis. More... | |
#define | HPAD_TRIGGER_MIN 0 |
The minimum value of the trigger. More... | |
#define | HPAD_TRIGGER_MAX 150 |
The maximum value of the trigger. More... | |
Typedefs | |
typedef struct HPADStatus | HPADStatus |
typedef struct HPADGGGGStatus | HPADGGGGStatus |
typedef enum HPADChan | HPADChan |
typedef enum HPADGGGGChan | HPADGGGGChan |
typedef enum HPADButtons | HPADButtons |
typedef enum HPADMotorCommand | HPADMotorCommand |
typedef void(* | HPADConnectCallback) (HPADChan chan, int32_t status) |
typedef void(* | HPADGGGGConnectCallback) (HPADGGGGChan chan, BOOL connected) |
typedef void(* | HPADPowerSupplyCallback) (HPADGGGGChan chan, BOOL connected) |
typedef void(* | HPADSamplingCallback) (HPADGGGGChan chan) |
typedef void(* | HPADResetCallback) (HPADGGGGChan chan, int32_t status) |
Functions | |
int32_t | HPADInit (void) |
Initializes the HPAD library. More... | |
int32_t | HPADShutdown (void) |
Shuts down the HPAD library. More... | |
int32_t RPLWRAP() | HPADRead (HPADChan chan, HPADStatus *buffers, int32_t count) |
Reads status buffers from a specified HPAD channel. More... | |
int32_t | HPADControlMotor (HPADChan chan, HPADMotorCommand command) |
Sends a motor/rumble command to the specified HPAD channel. More... | |
int32_t | HPADRecalibrate (HPADChan chan) |
Invalidates calibration data of the specified HPAD channel. More... | |
HPADConnectCallback | HPADSetConnectCallback (HPADChan chan, HPADConnectCallback callback) |
Sets a callback for once the specified HPAD channel is connected. More... | |
int32_t | HPADGetGGGGStatus (HPADGGGGChan chan, HPADGGGGStatus *status) |
Get the status of the specified GGGG channel (GC Adapter). More... | |
HPADGGGGConnectCallback | HPADSetGgggConnectCallback (HPADGGGGChan chan, HPADGGGGConnectCallback callback) |
Sets a callback for once the specified GGGG Adapter is connected. More... | |
HPADPowerSupplyCallback | HPADSetPowerSupplyCallback (HPADGGGGChan chan, HPADPowerSupplyCallback callback) |
Sets a callback for once the power supply of the specified GGGG Adapter is connected. More... | |
HPADSamplingCallback | HPADSetSamplingCallback (HPADGGGGChan chan, HPADSamplingCallback callback) |
Sets a callback for once a sample is received from the specified GGGG Adapter. More... | |
int32_t | HPADResetDevice (HPADGGGGChan chan, HPADResetCallback callback) |
Resets the specified GGGG Adapter. More... | |