include/vpad: Minor improvments, enum links, whatever

This commit is contained in:
Ash 2018-06-23 19:52:13 +10:00
parent 864ad21a0d
commit 2f995fec41

View File

@ -119,7 +119,7 @@ struct VPADTouchData
//! 0 if screen is not currently being touched //! 0 if screen is not currently being touched
uint16_t touched; uint16_t touched;
//! Bitfield of VPADTouchPadValidity to indicate how touch sample accuracy //! Bitfield of #VPADTouchPadValidity to indicate how touch sample accuracy
uint16_t validity; uint16_t validity;
}; };
WUT_CHECK_OFFSET(VPADTouchData, 0x00, x); WUT_CHECK_OFFSET(VPADTouchData, 0x00, x);
@ -241,7 +241,7 @@ VPADShutdown();
* Read controller data from the desired Gamepad. * Read controller data from the desired Gamepad.
* *
* \note * \note
* Retail Wii U systems have a single Gamepad on channel 0. * Retail Wii U systems have a single Gamepad on \link VPADChan::VPAD_CHAN_0 VPAD_CHAN_0. \endlink
* *
* \param chan * \param chan
* The channel to read from. * The channel to read from.
@ -273,7 +273,7 @@ VPADRead(VPADChan chan,
* application via VPADSetTPCalibrationParam(). * application via VPADSetTPCalibrationParam().
* *
* \note * \note
* Retail Wii U systems have a single Gamepad on channel 0. * Retail Wii U systems have a single Gamepad on \link VPADChan::VPAD_CHAN_0 VPAD_CHAN_0. \endlink
* *
* \param chan * \param chan
* Denotes which channel to get the calibration data from. * Denotes which channel to get the calibration data from.
@ -451,7 +451,7 @@ VPADInitGyroZeroDriftMode(VPADChan chan);
* 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.
* *
* \note * \note
* Retail Wii U systems have a single Gamepad on channel 0. * Retail Wii U systems have a single Gamepad on \link VPADChan::VPAD_CHAN_0 VPAD_CHAN_0. \endlink
* *
* \param chan * \param chan
* The channel of the Gamepad to rumble. * The channel of the Gamepad to rumble.
@ -478,7 +478,7 @@ VPADControlMotor(VPADChan chan,
* pattern. * pattern.
* *
* \note * \note
* Retail Wii U systems have a single Gamepad on channel 0. * Retail Wii U systems have a single Gamepad on \link VPADChan::VPAD_CHAN_0 VPAD_CHAN_0. \endlink
* *
* \param chan * \param chan
* The channel of the Gamepad to stop rumbling. * The channel of the Gamepad to stop rumbling.