22 #ifndef CORENAVILEDS_H
23 #define CORENAVILEDS_H
31 #include <sys/ioctl.h>
36 #include <nyx/nyx_client.h>
49 void ledFade(
int led,
int brightness,
int cFadeIn,
int cFadeOut,
int sFadeIn,
int sFadeOut);
50 void ledPulsate(
int led,
int brightness,
int startDelay,
int FadeIn,
int FadeOut,
int FadeOutDelay,
int RepeatDelay,
int repeat);
51 void ledDoublePulse(
int led,
int brightness,
int pulseRamp,
int pulseDur,
int pulseDelay,
int RepeatDelay,
int repeat);
53 void ledFullFade(
int brightness,
int firstIn,
int firstOut,
int secondIn,
int secondOut,
int thirdOut,
bool left);
54 void ledSet (
int led,
int brightness);
55 void ledRampTo(
int led,
int brightness,
int time);
56 void ledWaterdrop(
int brightness,
int cFadeIn,
int cFadeOut,
int sFadeIn,
int sFadeOut,
bool reverse =
false);
62 void ledSwipe (
int brightness,
int fadeTime,
bool goLeft);
63 void ledFullSwipe (
int brightness,
int fadeTime,
bool goLeft);
65 void ledSeesaw(
int brightness,
int fadeTime,
bool reverse =
false);
66 void ledFadeOff (
int brightness,
int fadeTime,
bool goLeft);
75 void configureParameters(
int n, ...);
76 void initializeEffect(nyx_led_controller_effect_type_t effect_type,
int led);
77 void finalizeAndExecute();
79 nyx_led_controller_core_configuration_handle_t m_config;
80 nyx_led_controller_effect_t m_effect;
82 bool m_lightbarEnabled;
83 nyx_device_handle_t m_device;
87 #endif//CORENAVILEDS_H