Add more VPAD definitions

* VPADGetTVMenuStatus
* VPADSetTVMenuInvalid
This commit is contained in:
Crayon2000 2020-09-13 21:17:06 -04:00 committed by James
parent ed3c03e9aa
commit 3422c79e49

View File

@ -704,6 +704,39 @@ VPADStopGyroMagRevise(VPADChan chan);
void void
VPADInitGyroZeroDriftMode(VPADChan chan); VPADInitGyroZeroDriftMode(VPADChan chan);
/**
* Get the TV menu status.
*
* \note
* Retail Wii U systems have a single Gamepad on \link VPADChan::VPAD_CHAN_0
* VPAD_CHAN_0. \endlink
*
* \param chan
* The channel of the Gamepad to get the TV status from.
*
* \returns
* TRUE if the TV menu is shown, FALSE otherwise.
*/
BOOL
VPADGetTVMenuStatus(VPADChan chan);
/**
* Enable or disable the TV menu.
*
* \note
* Retail Wii U systems have a single Gamepad on \link VPADChan::VPAD_CHAN_0
* VPAD_CHAN_0. \endlink
*
* \param chan
* The channel of the Gamepad to enable or disable the TV menu from.
*
* \param invalid
* Set to TRUE to disable the TV menu or FALSE to enable it.
*/
void
VPADSetTVMenuInvalid(VPADChan chan,
BOOL invalid);
/** /**
* Turns on the rumble motor on the desired Gamepad. * Turns on the rumble motor on the desired Gamepad.
* A custom rumble pattern can be set by setting bytes in the input buffer. * A custom rumble pattern can be set by setting bytes in the input buffer.