mirror of
https://github.com/devkitPro/wut.git
synced 2026-05-07 22:32:03 -05:00
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
* - 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>
52 lines
870 B
C
52 lines
870 B
C
#pragma once
|
|
#include <wut.h>
|
|
#include <padscore/wpad.h>
|
|
|
|
/**
|
|
* \defgroup padscore_wud WUD
|
|
* \ingroup padscore
|
|
*
|
|
* @{
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
uint16_t
|
|
WUDGetFirmwareVersion(void);
|
|
|
|
BOOL
|
|
WUDSerialFlashTestMode(void (*callback)(void));
|
|
|
|
BOOL
|
|
WUDSerialFlashTestRead(uint32_t unknown1,
|
|
uint8_t size,
|
|
void (*callback)(void *, void *));
|
|
|
|
BOOL
|
|
WUDSerialFlashTestWrite(uint32_t unknown1,
|
|
uint8_t size,
|
|
uint32_t unknown2,
|
|
void (*callback)(void));
|
|
|
|
BOOL
|
|
WUDSerialFlashUpdate(void (*callback)(char, char));
|
|
|
|
uint16_t
|
|
WUDSerialFlashVersion(void);
|
|
|
|
void
|
|
WUDSetSniffMode(WPADAddress *btaddr,
|
|
void *unknown);
|
|
|
|
void
|
|
WUDSetVisibility(uint8_t unknown1,
|
|
uint8_t unknown2);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
/** @} */
|