Skip to content

Commit 3422c79

Browse files
Crayon2000exjam
authored andcommitted
Add more VPAD definitions
* VPADGetTVMenuStatus * VPADSetTVMenuInvalid
1 parent ed3c03e commit 3422c79

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

include/vpad/input.h

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,39 @@ VPADStopGyroMagRevise(VPADChan chan);
704704
void
705705
VPADInitGyroZeroDriftMode(VPADChan chan);
706706

707+
/**
708+
* Get the TV menu status.
709+
*
710+
* \note
711+
* Retail Wii U systems have a single Gamepad on \link VPADChan::VPAD_CHAN_0
712+
* VPAD_CHAN_0. \endlink
713+
*
714+
* \param chan
715+
* The channel of the Gamepad to get the TV status from.
716+
*
717+
* \returns
718+
* TRUE if the TV menu is shown, FALSE otherwise.
719+
*/
720+
BOOL
721+
VPADGetTVMenuStatus(VPADChan chan);
722+
723+
/**
724+
* Enable or disable the TV menu.
725+
*
726+
* \note
727+
* Retail Wii U systems have a single Gamepad on \link VPADChan::VPAD_CHAN_0
728+
* VPAD_CHAN_0. \endlink
729+
*
730+
* \param chan
731+
* The channel of the Gamepad to enable or disable the TV menu from.
732+
*
733+
* \param invalid
734+
* Set to TRUE to disable the TV menu or FALSE to enable it.
735+
*/
736+
void
737+
VPADSetTVMenuInvalid(VPADChan chan,
738+
BOOL invalid);
739+
707740
/**
708741
* Turns on the rumble motor on the desired Gamepad.
709742
* A custom rumble pattern can be set by setting bytes in the input buffer.

0 commit comments

Comments
 (0)