1
0
KF2-Dev-Scripts/Engine/Classes/LogitechLEDInterface.uc
2020-12-13 18:01:13 +03:00

23 lines
690 B
Ucode

class LogitechLEDInterface extends PlatformInterfaceBase
native(PlatformInterface);
var int Red;
var int Green;
var int Blue;
/**
* Perform any initialization
*/
native event Init();
native event bool SetColor(int RedPercent, int GreenPercent, int BluePercent, float Brightness = 1.0f);
native event bool LEDSetFlashingRBG(int redPercentage, int greenPercentage, int bluePercentage,
int milliSecondsDuration, int milliSecondsInterval);
native event bool LEDPulseLighting(int redPercentage, int greenPercentage, int bluePercentage, int
milliSecondsDuration, int milliSecondsInterval);
native event bool LedRestoreLighting();
native event bool LedStopEffects();