Skip to content

Commit

Permalink
Add more VPAD definitions
Browse files Browse the repository at this point in the history
* VPADGetTVMenuStatus
* VPADSetTVMenuInvalid
  • Loading branch information
Crayon2000 authored and exjam committed Sep 21, 2020
1 parent ed3c03e commit 3422c79
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions include/vpad/input.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3422c79

Please sign in to comment.