diff options
author | rereprep | 2017-04-09 20:21:46 +0300 |
---|---|---|
committer | devnoname120 | 2017-04-09 19:21:46 +0200 |
commit | 5ec99399cc3d390121d9679a096dd900ae06c956 (patch) | |
tree | aee8ac9eb1ec945c9fa70956fff6a58d8ff49c7e /include/kernel/ctrl.h | |
parent | Update db.yml (#154) (diff) | |
download | vds-libraries-5ec99399cc3d390121d9679a096dd900ae06c956.tar.gz |
Update ctrl.h (#155)
Diffstat (limited to 'include/kernel/ctrl.h')
-rw-r--r-- | include/kernel/ctrl.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/kernel/ctrl.h b/include/kernel/ctrl.h index 60ff673..ead8db9 100644 --- a/include/kernel/ctrl.h +++ b/include/kernel/ctrl.h @@ -166,6 +166,32 @@ int sceCtrlReadBufferPositive(int port, SceCtrlData *pad_data, int count); int sceCtrlReadBufferNegative(int port, SceCtrlData *pad_data, int count); /** + * Get the controller extended state information (polling, positive logic). + * + * This function will bind L/R trigger value to L1/R1 instead of LTRIGGER/RTRIGGER + * + * @param[in] port - use 0. + * @param[out] *pad_data - see ::SceCtrlData. + * @param[in] count - Buffers count. + * + * @return Buffers count, between 1 and 'count'. <0 on error. + */ +int sceCtrlPeekBufferPositiveExt(int port, SceCtrlData *pad_data, int count); + +/** + * Get the controller extended state information (polling, negative logic). + * + * This function will bind L/R trigger value to L1/R1 instead of LTRIGGER/RTRIGGER + * + * @param[in] port - use 0. + * @param[out] *pad_data - see ::SceCtrlData. + * @param[in] count - Buffers count. + * + * @return Buffers count, between 1 and 'count'. <0 on error. + */ +int sceCtrlPeekBufferNegativeExt(int port, SceCtrlData *pad_data, int count); + +/** * Set rules for button rapid fire * * @param[in] port - use 0. |