diff options
Diffstat (limited to '')
-rw-r--r-- | include/user/power.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/user/power.h b/include/user/power.h index a3426e4..dc2a928 100644 --- a/include/user/power.h +++ b/include/user/power.h @@ -8,10 +8,18 @@ extern "C" { #endif +enum{ + /*indicates the unit is suspending, seems to occur due to inactivity*/ + SCE_POWER_CB_SUSPENDING = 0x00010000, + /*indicates the unit is resuming from suspend mode*/ + SCE_POWER_CB_RESUMING = 0x00020000, + /*indicates the unit has finish resuming from suspend mode*/ + SCE_POWER_CB_RESUME_COMPLETE = 0x00040000 +} /* Callbacks */ /** Callback function prototype */ -typedef void (*ScePowerCallback)(int unknown, int powerInfo); +typedef void (*ScePowerCallback)(int notifyId, int notifyCount, int powerInfo); /** * Registers a ScePower Callback |