diff options
Diffstat (limited to 'include/kernel/power.h')
-rw-r--r-- | include/kernel/power.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/kernel/power.h b/include/kernel/power.h index 105535a..b56731b 100644 --- a/include/kernel/power.h +++ b/include/kernel/power.h @@ -246,6 +246,25 @@ int scePowerSetGpuClockFrequency(int freq); */ int scePowerSetGpuXbarClockFrequency(int freq); +/** + * Sets the time before idle callback is notified. + * + * @param callback_slot - Callback slot from 0 to 7. + * @param time - Time in microseconds. + * + * @return 0 on success, < 0 on error + */ +int scePowerSetIdleTimer(int callback_slot, SceUInt64 time); + +/** + * Sets the PS button hold time for showing the quick menu. + * + * @param time - Time in microseconds. + * + * @return 0 always + */ +int scePowerSetPsButtonPushTime(int time); + #ifdef __cplusplus } #endif |