* - Added all WPAD functions.
- Added all KPAD functions.
- Changed KPADStatus::mplus to have all directions in a KPADBase3D struct.
* - `KPAD_BUTTON_REPEAT` is now a macro.
- Replaced snake_case vars with camelCase.
- Removed leftover comment.
- Fixed `WPADClearDeviceCallback` to take a `uint32_t` argument.
- Fixed second argument of `WPADSyncDeviceCallback` to be uknown `uint32_t`.
- Fixed return type of `WPADiControllerInfoInNand` to be `BOOL`.
* One more snake_case fix, clang-format fixes.
* More snake_case fix, moved wpad_im functions to the bottom.
* - Moved WUD functions into `wud.h`.
- Some doxygen changes (grammar, conjugation, formatting, broken link.)
---------
Co-authored-by: Daniel K. O. (dkosmari) <none@none>
* add OSGetConsoleType, and MCP_GetSystemMode
this adds in two functions that were an exported symbol in the system
libraries, but not included in any headers. these are useful for doing
two things:
- determine what kind of console you're running on (for users who want
to know if they're running a CAT-DEV, CAT-R, Kiosk Unit, Retail
Wii-U's, etc.)
- determine if the wii-u is currently running in production/development
mode. this shouldn't be too useful for many users, as not too much
changes besides certain extra libraries/etc. are loaded in memory.
however, users may want to lock things behind development mode as dev
mode can only be normally enabled when there's extra memory.
* add new comment to mask
* properly label PCFS mount type
now that we've got an open-source way of booting a cat-dev, and using
PCFS, we can confirm that this second mount source is indeed PCFS.
* fix one space
* pcfs -> hfio
* Include `wut.h` in `h264/stream.h`
Not having `wut.h` included when using this header results in redefinition errors because of `WUT_PACKED`
* Add a space
* - Fix select() to also update the fd_set arguments on timeout condition.
- Move the nfds argument restriction to the nsysnet side.
- Allow user-defined FD_SETSIZE, since newlib's fd_set allow custom sizes.
- Define __socklen_t_defined when socklen_t is typedefed.
* Added safety check for poll(): the nsysnet fd must fit in nsysnet_fd_set.
---------
Co-authored-by: Daniel K. O. (dkosmari) <none@none>
- Added more enums and enum values.
- Added `padscore/wbc.h` header.
- Added more fields to KPADStatus.
- Added some more WPAD and KPAD functions.
--HG--
branch : padscore-additions-hg
Co-authored-by: Daniel K. O. (dkosmari) <none@none>
These functions were pointing to the `Server` implementation, and not
the `ServerPrivate` one. Fix the typo using the correct `ServerPrivate`
export instead.
* More DRX definitions
Changed DRH state names, notably:
UNK0-> NORADIO
UNK1-> WII
UNK2-> [not renamed]
UNK3-> NODRC
UNK7F-> [not renamed]
DRC EEPROM now defined as data instead of being unknown.
More info yet to be added.
* Unneeded comment removed