5 #ifndef __LV2_SYSUTIL_H__ 6 #define __LV2_SYSUTIL_H__ 14 #define SYSUTIL_EVENT_SLOT0 0 16 #define SYSUTIL_EVENT_SLOT1 1 18 #define SYSUTIL_EVENT_SLOT2 2 20 #define SYSUTIL_EVENT_SLOT3 3 23 #define SYSUTIL_EXIT_GAME 0x0101 25 #define SYSUTIL_DRAW_BEGIN 0x0121 27 #define SYSUTIL_DRAW_END 0x0122 29 #define SYSUTIL_MENU_OPEN 0x0131 31 #define SYSUTIL_MENU_CLOSE 0x0132 33 #define SYSUTIL_OSK_LOADED 0x0502 35 #define SYSUTIL_OSK_DONE 0x0503 37 #define SYSUTIL_OSK_UNLOADED 0x0504 s32 sysUtilRegisterCallback(s32 slot, sysutilCallback cb, void *usrdata)
Register a callback function for system events.
s32 sysUtilCheckCallback()
Check for events.
void(* sysutilCallback)(u64 status, u64 param, void *usrdata)
Pointer to callback function.
Definition: sysutil.h:58
s32 sysUtilUnregisterCallback(s32 slot)
Unregister a callback function.