aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/rgblight_reconfig.h
blob: 11bd4fd11820198c199a8faf6a8cb2e30992fe80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef RGBLIGHT_RECONFIG_H
#define RGBLIGHT_RECONFIG_H

#ifdef RGBLIGHT_ANIMATIONS
   // for backward compatibility
   #define RGBLIGHT_EFFECT_BREATHING
   #define RGBLIGHT_EFFECT_RAINBOW_MOOD
   #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
   #define RGBLIGHT_EFFECT_SNAKE
   #define RGBLIGHT_EFFECT_KNIGHT
   #define RGBLIGHT_EFFECT_CHRISTMAS
   #define RGBLIGHT_EFFECT_STATIC_GRADIENT
   #define RGBLIGHT_EFFECT_RGB_TEST
   #define RGBLIGHT_EFFECT_ALTERNATING
#endif

#ifdef RGBLIGHT_STATIC_PATTERNS
   #define RGBLIGHT_EFFECT_STATIC_GRADIENT
#endif

// check dynamic animation effects chose ?
#if defined(RGBLIGHT_EFFECT_BREATHING) || \
    defined(RGBLIGHT_EFFECT_RAINBOW_MOOD) || \
    defined(RGBLIGHT_EFFECT_RAINBOW_SWIRL) ||	\
    defined(RGBLIGHT_EFFECT_SNAKE) ||		\
    defined(RGBLIGHT_EFFECT_KNIGHT) ||		\
    defined(RGBLIGHT_EFFECT_CHRISTMAS) ||	\
    defined(RGBLIGHT_EFFECT_RGB_TEST) ||	\
    defined(RGBLIGHT_EFFECT_ALTERNATING)
  #define RGBLIGHT_USE_TIMER
  #ifndef RGBLIGHT_ANIMATIONS
    #define RGBLIGHT_ANIMATIONS  // for backward compatibility
  #endif
#endif

#endif // RGBLIGHT_RECONFIG_H