From 7e49a43f60065924e8f49a095b97892c8a5039a7 Mon Sep 17 00:00:00 2001 From: Yifan Lu Date: Fri, 18 Nov 2016 08:40:13 -0800 Subject: Add button intercept headers --- include/user/ctrl.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/include/user/ctrl.h b/include/user/ctrl.h index 0b70b71..eafef75 100644 --- a/include/user/ctrl.h +++ b/include/user/ctrl.h @@ -246,6 +246,24 @@ int sceCtrlGetControllerPortInfo(SceCtrlPortInfo *info); * @return 0, <0 on error. */ int sceCtrlGetBatteryInfo(int port, SceUInt8 *batt); + +/** + * Sets intercept + * + * @param[in] intercept Boolean value + * + * @return 0, < 0 on error + */ +int sceCtrlSetButtonIntercept(int intercept); + +/** + * Gets intercept + * + * @param[out] intercept Boolean value + * + * @return 0, < 0 on error + */ +int sceCtrlGetButtonIntercept(int *intercept); #ifdef __cplusplus } #endif -- cgit v1.2.3