summaryrefslogtreecommitdiffstats
path: root/quantum/rgblight.h
diff options
context:
space:
mode:
authormilestogo <milestogo@users.noreply.github.com>2017-02-10 08:28:39 +0100
committermilestogo <milestogo@users.noreply.github.com>2017-02-10 08:28:39 +0100
commitb0537f75df73ca5a55355c7546d45577cb2c6a38 (patch)
tree0da100dc4fcbe21629a10879b53e13d02c25c170 /quantum/rgblight.h
parent5ac0e6e6aee64c9b8fade79aaf22bc839e2c6b47 (diff)
parent41c93575a838e9b201ca113165085f47198e109d (diff)
downloadqmk_firmware-b0537f75df73ca5a55355c7546d45577cb2c6a38.tar.gz
qmk_firmware-b0537f75df73ca5a55355c7546d45577cb2c6a38.tar.xz
Merge branch 'master' into sculpt2
Diffstat (limited to 'quantum/rgblight.h')
-rw-r--r--quantum/rgblight.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h
index 726b8de72..2b3e791bf 100644
--- a/quantum/rgblight.h
+++ b/quantum/rgblight.h
@@ -2,7 +2,7 @@
#define RGBLIGHT_H
#ifdef RGBLIGHT_ANIMATIONS
- #define RGBLIGHT_MODES 24
+ #define RGBLIGHT_MODES 34
#else
#define RGBLIGHT_MODES 1
#endif
@@ -22,6 +22,14 @@
#define RGBLIGHT_EFFECT_DUALKNIGHT_LENGTH 4
#endif
+#ifndef RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL
+#define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 1000
+#endif
+
+#ifndef RGBLIGHT_EFFECT_CHRISTMAS_STEP
+#define RGBLIGHT_EFFECT_CHRISTMAS_STEP 2
+#endif
+
#ifndef RGBLIGHT_HUE_STEP
#define RGBLIGHT_HUE_STEP 10
#endif
@@ -65,6 +73,7 @@ void rgblight_decrease(void);
void rgblight_toggle(void);
void rgblight_enable(void);
void rgblight_step(void);
+void rgblight_step_reverse(void);
void rgblight_mode(uint8_t mode);
void rgblight_set(void);
void rgblight_update_dword(uint32_t dword);