wut v1.8.0
Wii U Toolchain
Loading...
Searching...
No Matches
base.h
Go to the documentation of this file.
1#pragma once
2#include <wut.h>
3
10#ifdef __cplusplus
11extern "C" {
12#endif
13
22
30
40void
42
52void
54
61BOOL
63
75int32_t
77
94int32_t
96 int32_t counter);
97
98void
100 int8_t setting);
101
102void
104 int8_t *outSetting);
105
119int32_t
121
135void
137 int32_t *mode);
138
153void
155 int32_t mode);
156
173void
175 uint32_t *tick,
176 uint32_t *status);
177
190void
192 uint32_t tick,
193 uint32_t status);
194
208void
210 uint32_t mode);
211
218void
220
232
233#ifdef __cplusplus
234}
235#endif
236
int32_t VPADBASESetMotorOnRemainingCount(VPADChan chan, int32_t counter)
Set a count representing the amount of time left for the given Gamepad's rumble pattern.
VPADChan
Wii U GamePad channel.
Definition base.h:16
BOOL VPADBASEIsInit()
Checks if VPADBASE is initialized.
void VPADBASEGetGameControllerMode(VPADChan chan, int32_t *mode)
Get the controller mode.
int32_t VPADBASEGetMotorOnRemainingCount(VPADChan chan)
Return a count representing the amount of time left for the given Gamepad's rumble pattern.
void VPADBASEShutdown()
Deinitializes the VPADBASE library.
void VPADBASESetGameControllerMode(VPADChan chan, int32_t mode)
Set the controller mode.
VPADIRCStatusFlags
Definition base.h:24
void VPADBASEGetPowerButtonPressStatus(VPADChan chan, uint32_t *tick, uint32_t *status)
Get the POWER button press status.
void VPADBASESetSensorBarSetting(VPADChan chan, int8_t setting)
int32_t VPADBASEGetHeadphoneStatus(VPADChan chan)
Get the headphone status.
void VPADBASEClearIRCEvent(VPADChan chan)
Clear pending IRC events.
void VPADBASESetPowerButtonPressStatus(VPADChan chan, uint32_t tick, uint32_t status)
Set the POWER button press status.
void VPADBASESetPowerButtonDisableMode(VPADChan chan, uint32_t mode)
Set the POWER button mode.
void VPADBASEInit()
Initializes the VPADBASE library for use.
void VPADBASEGetSensorBarSetting(VPADChan chan, int8_t *outSetting)
VPADIRCStatusFlags VPADBASEGetIRCStatus(VPADChan chan)
Get the current IRC status.
@ VPAD_CHAN_0
Channel 0.
Definition base.h:18
@ VPAD_CHAN_1
Channel 1.
Definition base.h:20
@ VPAD_IRC_STATUS_FLAG_HAS_DATA
Indicates that there is pending data which can be received.
Definition base.h:26
@ VPAD_IRC_STATUS_FLAG_CONNECTED
Indicates that another device is connected.
Definition base.h:28
int32_t BOOL
Definition wut_types.h:7