diff options
author | xyzz | 2016-08-14 12:11:16 +0200 |
---|---|---|
committer | GitHub | 2016-08-14 12:11:16 +0200 |
commit | 513c827546093bca9901d25fa30b75c6b0244600 (patch) | |
tree | fa9d027198c1812845d3eb167901e5c1c64017f2 /include/user | |
parent | Merge pull request #18 from endrift/actuator (diff) | |
parent | Add sceCtrlSetLightBar (diff) | |
download | vds-libraries-513c827546093bca9901d25fa30b75c6b0244600.tar.gz |
Merge pull request #19 from endrift/lightbar
Add sceCtrlSetLightBar
Diffstat (limited to '')
-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 |