Skip to content

Complete vpad functions and some docs fixes.#446

Open
dkosmari wants to merge 3 commits into
devkitPro:masterfrom
dkosmari:complete-vpad
Open

Complete vpad functions and some docs fixes.#446
dkosmari wants to merge 3 commits into
devkitPro:masterfrom
dkosmari:complete-vpad

Conversation

@dkosmari
Copy link
Copy Markdown
Contributor

@dkosmari dkosmari commented May 7, 2026

  • Prototypes for all VPAD functions.
  • The note about retail Wii U only having one gamepad was moved to the VPADChan enum.
  • Some docs fixes.
  • VPADGetButtonProcMode changed its return type to an enum.

Daniel K. O. (dkosmari) added 3 commits May 6, 2026 23:11
- Added `const` to `pattern` parameter in `VPADControlMotor()`
- Docs: moved note about single gamepad into `VPADChan` enum.
- Docs: removed redundant link/endlink commands.
- Docs: fixed some docs.
@capitalistspz
Copy link
Copy Markdown
Contributor

capitalistspz commented May 20, 2026

Could you also add a comment specifying the VPAD accelerometer unit?

And WUT_ENUM_BITMASK_TYPE for VPADButtons

Comment thread include/vpad/input.h
Comment on lines +1041 to +1051
int32_t
VPADWriteTPCalibrationValueToEEPROM(VPADChan chan,
uint32_t unknown1,
uint32_t unknown2,
uint32_t unknown3,
uint32_t unknown4,
uint32_t unknown5,
uint32_t unknown6,
uint32_t unknown7,
uint32_t unknown8,
uint32_t unknown9);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be one too many unknown parameters.
I assume these map to the touchpad calibration in the Gamepad EEPROM, although there is some confusing scaling done by VPAD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants