File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,9 @@ struct FanCurve {
82
82
uint16_t rpms[FAN_CURVE_POINTS_NUM];
83
83
};
84
84
85
+ /* *
86
+ * The abstract implementation of IFanController. This implementation handles the parsing and interpretation of incoming commands.
87
+ */
85
88
class FanController : public IFanController {
86
89
public:
87
90
virtual void handleFanControl (const Command& command, const CorsairLightingProtocolResponse* response) override ;
Original file line number Diff line number Diff line change @@ -232,13 +232,15 @@ class LEDController : public ILEDController {
232
232
*
233
233
* @param channel the channel index
234
234
* @param brightness the brightness in the range 0-255
235
+ * @return true if the brightness was changed
235
236
*/
236
237
virtual bool setLEDBrightness (uint8_t channel, uint8_t brightness);
237
238
/* *
238
239
* Set the type of LED chipset: WS2812B or UCS1903
239
240
*
240
241
* @param channel the channel index
241
242
* @param ledPortType the port type
243
+ * @return true if the port type was changed
242
244
*/
243
245
virtual bool setLEDPortType (uint8_t channel, PortType ledPortType);
244
246
virtual void clearLEDColorValues (uint8_t channel) = 0;
Original file line number Diff line number Diff line change 32
32
#define VOLTAGE_RAIL_5V 1
33
33
#define VOLTAGE_RAIL_3V3 2
34
34
35
+ /* *
36
+ * The abstract implementation of the ITemperatureController. This implementation handles the commands parsing and processing.
37
+ */
35
38
class TemperatureController : public ITemperatureController {
36
39
public:
37
40
virtual void handleTemperatureControl (const Command& command, const CorsairLightingProtocolResponse* response) override ;
You can’t perform that action at this time.
0 commit comments