mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-05 07:24:34 +00:00
More documentation for padmgr.c (#1336)
* More documentation for padmgr.c * Update comments * Further suggested changes * Suggested changes * LOG_SEVERITY_INFO -> LOG_SEVERITY_CRITICAL * Adjust PadMgr_RequestPadData comment * Avoid array notation for args, adjust comment, rename the FaultMgr padInput field to inputs to better reflect it's an array
This commit is contained in:
parent
c0cf83a814
commit
6b77ddba5a
13 changed files with 481 additions and 338 deletions
|
@ -1574,21 +1574,6 @@ void ListAlloc_Free(ListAlloc* this, void* data);
|
|||
void ListAlloc_FreeAll(ListAlloc* this);
|
||||
void Main_LogSystemHeap(void);
|
||||
void Main(void* arg);
|
||||
OSMesgQueue* PadMgr_LockSerialMesgQueue(PadMgr* padMgr);
|
||||
void PadMgr_UnlockSerialMesgQueue(PadMgr* padMgr, OSMesgQueue* serialEventQueue);
|
||||
void PadMgr_LockPadData(PadMgr* padMgr);
|
||||
void PadMgr_UnlockPadData(PadMgr* padMgr);
|
||||
void PadMgr_RumbleControl(PadMgr* padMgr);
|
||||
void PadMgr_RumbleStop(PadMgr* padMgr);
|
||||
void PadMgr_RumbleReset(PadMgr* padMgr);
|
||||
void PadMgr_RumbleSet(PadMgr* padMgr, u8* ctrlrRumbles);
|
||||
void PadMgr_ProcessInputs(PadMgr* padMgr);
|
||||
void PadMgr_HandleRetraceMsg(PadMgr* padMgr);
|
||||
void PadMgr_HandlePreNMI(PadMgr* padMgr);
|
||||
// This function must remain commented out, because it is called incorrectly in
|
||||
// fault.c (actual bug in game), and the compiler notices and won't compile it
|
||||
// void PadMgr_RequestPadData(PadMgr* padmgr, Input* inputs, s32 mode);
|
||||
void PadMgr_Init(PadMgr* padMgr, OSMesgQueue* serialEventQueue, IrqMgr* irqMgr, OSId id, OSPri priority, void* stack);
|
||||
void SpeedMeter_InitImpl(SpeedMeter* this, u32 arg1, u32 y);
|
||||
void SpeedMeter_Init(SpeedMeter* this);
|
||||
void SpeedMeter_Destroy(SpeedMeter* this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue