diff options
Diffstat (limited to '')
-rw-r--r-- | include/user/ctrl.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/user/ctrl.h b/include/user/ctrl.h index 0d1b02c..4758f6c 100644 --- a/include/user/ctrl.h +++ b/include/user/ctrl.h @@ -20,6 +20,7 @@ typedef enum SceCtrlErrorCode { /** Enumeration for the digital controller buttons. * @note - L1/R1/L3/R3 only can bind using ::sceCtrlPeekBufferPositiveExt2 and ::sceCtrlReadBufferPositiveExt2 * @note - Values bigger than 0x00010000 can be intercepted only with shell privileges + * @note - Vita's L Trigger and R Trigger are mapped to L1 and R1 when using ::sceCtrlPeekBufferPositiveExt2 and ::sceCtrlReadBufferPositiveExt2 */ typedef enum SceCtrlButtons { SCE_CTRL_SELECT = 0x00000001, //!< Select button. @@ -298,7 +299,7 @@ int sceCtrlGetBatteryInfo(int port, SceUInt8 *batt); * having the input sent to the game thread. * @param[in] intercept Boolean value * - * @return 0, < 0 on error + * @return 0, < 0 on error */ int sceCtrlSetButtonIntercept(int intercept); @@ -307,9 +308,17 @@ int sceCtrlSetButtonIntercept(int intercept); * * @param[out] intercept Boolean value * - * @return 0, < 0 on error + * @return 0, < 0 on error */ int sceCtrlGetButtonIntercept(int *intercept); + +/** + * Check if multi controller is supported + * + * @return 1 if yes, 0 if no + */ +int sceCtrlIsMultiControllerSupported(void); + #ifdef __cplusplus } #endif |