48 #define hidCstickRead irrstCstickRead
void irrstWaitForEvent(bool nextEvent)
Waits for the IRRST input event to trigger.
Handle irrstEvent
IRRST's state update event.
void irrstScanInput(void)
Scans IRRST for input.
void irrstCstickRead(circlePosition *pos)
Reads the current c-stick position.
u32 irrstKeysHeld(void)
Gets IRRST's held keys.
Handle irrstMemHandle
IRRST's shared memory handle.
Result irrstInit(void)
Initializes IRRST.
vu32 * irrstSharedMem
IRRST's shared memory.
Result IRRST_Shutdown(void)
Shuts down IRRST.
Result IRRST_Initialize(u32 unk1, u8 unk2)
Initializes IRRST.
Result IRRST_GetHandles(Handle *outMemHandle, Handle *outEventHandle)
Gets the shared memory and event handles for IRRST.
void irrstExit(void)
Exits IRRST.
Circle Pad position.
Definition: hid.h:52
uint8_t u8
would be nice if newlib had this already
Definition: types.h:21
u32 Handle
Resource handle.
Definition: types.h:41
volatile u32 vu32
32-bit volatile unsigned integer.
Definition: types.h:33
s32 Result
Function result.
Definition: types.h:42
uint32_t u32
32-bit unsigned integer
Definition: types.h:23