summaryrefslogtreecommitdiff
path: root/include/user/ctrl.h
diff options
context:
space:
mode:
authorYifan Lu2016-11-18 08:40:13 -0800
committerYifan Lu2016-11-18 08:40:13 -0800
commit7e49a43f60065924e8f49a095b97892c8a5039a7 (patch)
tree7577d889042156c9b9b13a8a59d8426c2c4e3dc2 /include/user/ctrl.h
parentAdded more kernel modulemgr imports (diff)
downloadvds-libraries-7e49a43f60065924e8f49a095b97892c8a5039a7.tar.gz
Add button intercept headers
Diffstat (limited to 'include/user/ctrl.h')
-rw-r--r--include/user/ctrl.h18
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