diff options
author | Yifan Lu | 2016-11-18 08:40:13 -0800 |
---|---|---|
committer | Yifan Lu | 2016-11-18 08:40:13 -0800 |
commit | 7e49a43f60065924e8f49a095b97892c8a5039a7 (patch) | |
tree | 7577d889042156c9b9b13a8a59d8426c2c4e3dc2 /include/user/ctrl.h | |
parent | Added more kernel modulemgr imports (diff) | |
download | vds-libraries-7e49a43f60065924e8f49a095b97892c8a5039a7.tar.gz |
Add button intercept headers
Diffstat (limited to 'include/user/ctrl.h')
-rw-r--r-- | include/user/ctrl.h | 18 |
1 files changed, 18 insertions, 0 deletions
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 |