From 3422c79e492a7290df28db167035a964892b59ec Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Sun, 13 Sep 2020 21:17:06 -0400 Subject: [PATCH] Add more VPAD definitions * VPADGetTVMenuStatus * VPADSetTVMenuInvalid --- include/vpad/input.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/include/vpad/input.h b/include/vpad/input.h index 59d708d3f..3641a7133 100644 --- a/include/vpad/input.h +++ b/include/vpad/input.h @@ -704,6 +704,39 @@ VPADStopGyroMagRevise(VPADChan chan); void 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. * A custom rumble pattern can be set by setting bytes in the input buffer.