diff options
author | Jeffrey Pfau | 2016-08-14 00:41:37 -0700 |
---|---|---|
committer | Jeffrey Pfau | 2016-08-14 00:41:37 -0700 |
commit | fb0142d6bae22900129cfdc77cd6d133edea4600 (patch) | |
tree | fa9d027198c1812845d3eb167901e5c1c64017f2 /include/user/ctrl.h | |
parent | Merge pull request #18 from endrift/actuator (diff) | |
download | vds-libraries-fb0142d6bae22900129cfdc77cd6d133edea4600.tar.gz |
Add sceCtrlSetLightBar
Diffstat (limited to 'include/user/ctrl.h')
-rw-r--r-- | include/user/ctrl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/user/ctrl.h b/include/user/ctrl.h index a05f9f6..c745714 100644 --- a/include/user/ctrl.h +++ b/include/user/ctrl.h @@ -167,6 +167,18 @@ int sceCtrlClearRapidFire(int port, int idx); */ int sceCtrlSetActuator(int port, const SceCtrlActuator* pState); +/** + * Control the light bar on paired controllers. + * + * @param[in] port - use 1 for the first paired controller, etc. + * @param[in] r - red intensity + * @param[in] g - green intensity + * @param[in] b - blue intensity + * + * @return 0, <0 on error. + */ +int sceCtrlSetLightBar(int port, SceUInt8 r, SceUInt8 g, SceUInt8 b); + #ifdef __cplusplus } #endif |