summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJeffrey Pfau2016-08-14 00:41:37 -0700
committerJeffrey Pfau2016-08-14 00:41:37 -0700
commitfb0142d6bae22900129cfdc77cd6d133edea4600 (patch)
treefa9d027198c1812845d3eb167901e5c1c64017f2 /include
parentMerge pull request #18 from endrift/actuator (diff)
downloadvds-libraries-fb0142d6bae22900129cfdc77cd6d133edea4600.tar.gz
Add sceCtrlSetLightBar
Diffstat (limited to 'include')
-rw-r--r--include/user/ctrl.h12
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