wut  v1.7.0
Wii U Toolchain
Typedefs | Enumerations | Functions
base.h File Reference
#include <wut.h>
Include dependency graph for base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum VPADChan VPADChan
 Wii U GamePad channel. More...
 

Enumerations

enum  VPADChan {
  VPAD_CHAN_0 = 0 ,
  VPAD_CHAN_1 = 1
}
 Wii U GamePad channel. More...
 
enum  VPADIRCStatusFlags {
  VPAD_IRC_STATUS_FLAG_HAS_DATA = 1 ,
  VPAD_IRC_STATUS_FLAG_CONNECTED = 2
}
 

Functions

void VPADBASEInit ()
 Initializes the VPADBASE library for use. More...
 
void VPADBASEShutdown ()
 Deinitializes the VPADBASE library. More...
 
BOOL VPADBASEIsInit ()
 Checks if VPADBASE is initialized. More...
 
int32_t VPADBASEGetMotorOnRemainingCount (VPADChan chan)
 Return a count representing the amount of time left for the given Gamepad's rumble pattern. More...
 
int32_t VPADBASESetMotorOnRemainingCount (VPADChan chan, int32_t counter)
 Set a count representing the amount of time left for the given Gamepad's rumble pattern. More...
 
void VPADBASESetSensorBarSetting (VPADChan chan, int8_t setting)
 
void VPADBASEGetSensorBarSetting (VPADChan chan, int8_t *outSetting)
 
int32_t VPADBASEGetHeadphoneStatus (VPADChan chan)
 Get the headphone status. More...
 
void VPADBASEGetGameControllerMode (VPADChan chan, int32_t *mode)
 Get the controller mode. More...
 
void VPADBASESetGameControllerMode (VPADChan chan, int32_t mode)
 Set the controller mode. More...
 
void VPADBASEGetPowerButtonPressStatus (VPADChan chan, uint32_t *tick, uint32_t *status)
 Get the POWER button press status. More...
 
void VPADBASESetPowerButtonPressStatus (VPADChan chan, uint32_t tick, uint32_t status)
 Set the POWER button press status. More...
 
void VPADBASESetPowerButtonDisableMode (VPADChan chan, uint32_t mode)
 Set the POWER button mode. More...
 
void VPADBASEClearIRCEvent (VPADChan chan)
 Clear pending IRC events. More...
 
VPADIRCStatusFlags VPADBASEGetIRCStatus (VPADChan chan)
 Get the current IRC status. More...