1
0
KF2-Dev-Scripts/Engine/Classes/RazerLEDInterface.uc

23 lines
696 B
Ucode
Raw Normal View History

2020-12-13 15:01:13 +00:00
class RazerLEDInterface extends PlatformInterfaceBase
native(PlatformInterface);
var int Red;
var int Green;
var int Blue;
/**
* Perform any initialization
*/
native event Init();
native event bool SetColor(byte RedPercent, byte GreenPercent, byte BluePercent, float Brightness = 1.0f);
native event bool LEDSetFlashingRBG(byte redPercentage, byte greenPercentage, byte bluePercentage,
int milliSecondsDuration, int milliSecondsInterval);
native event bool LEDPulseLighting(byte redPercentage, byte greenPercentage, byte bluePercentage, int
milliSecondsDuration, int milliSecondsInterval);
native event bool LedRestoreLighting();
native event bool LedStopEffects();