Skip to content

Complete vpad functions and some docs fixes.#446

Merged
GaryOderNichts merged 8 commits into
devkitPro:masterfrom
dkosmari:complete-vpad
Jun 1, 2026
Merged

Complete vpad functions and some docs fixes.#446
GaryOderNichts merged 8 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 Outdated
Daniel K. O. (dkosmari) added 2 commits May 20, 2026 23:14
- Fixed number and type of arguments for VPADWriteTPCalibrationValueToEEPROM.
@dkosmari
Copy link
Copy Markdown
Contributor Author

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

Isn't that the same as the KPAD accelerometer? It's measured in Gs (Earth's gravitational acceleration.) So at rest, the magnitude should be 1.0f.

Oh no, I just noticed... the field is named accelorometer. How did nobody notice that?

And WUT_ENUM_BITMASK_TYPE for VPADButtons

Done.

@GaryOderNichts GaryOderNichts merged commit 6f9a380 into devkitPro:master Jun 1, 2026
2 checks passed
@GaryOderNichts
Copy link
Copy Markdown
Contributor

Thanks!

Oh no, I just noticed... the field is named accelorometer. How did nobody notice that?

Good catch!

@dkosmari dkosmari deleted the complete-vpad branch June 1, 2026 18:50
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