API Usage
Chroma events can be named to add supplemental technology to your lighting experience. By naming game events and game triggers, the event name can be used as a lookup to play things like haptics effects. Jump_2s
could be used when playing a Chroma animation of a jump effect that lasts for 2 seconds. Using “Jump_2s” a corresponding haptic effect with similar duration can be added with the Chroma effect to enhance emersion for the title. No other APIs are required to add haptics effects other than to invoke SetEffectName().
int result = ChromaAnimationAPI.CoreSetEventName("Jump_2s");
if (result == RazerErrors.RZRESULT_SUCCESS)
{
// Chroma event named successfully!"
}
else
{
// Unable to set event name. Unexpected result!"
}
Still stuck? Come to our Discord and we will help you out!