summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFrancisco José García García2017-05-13 13:30:08 +0200
committerSunguk Lee2017-05-13 20:35:17 +0900
commit74ecbf6deb7234093e65b975c07dd6bcf0153e4d (patch)
treead94fb72849be635be74dae624f370d0b7c85093 /include
parentAdded some ScePaf functions (diff)
downloadvds-libraries-74ecbf6deb7234093e65b975c07dd6bcf0153e4d.tar.gz
Fix callback functions and add some enums
Diffstat (limited to '')
-rw-r--r--include/user/power.h10
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