summaryrefslogtreecommitdiffstats
path: root/quantum/rgblight.h
diff options
context:
space:
mode:
authormilestogo <milestogo@users.noreply.github.com>2017-02-10 08:28:15 +0100
committermilestogo <milestogo@users.noreply.github.com>2017-02-10 08:28:15 +0100
commit41c93575a838e9b201ca113165085f47198e109d (patch)
tree897558fe82aa473d9461ba350c939c75a3ac6b5f /quantum/rgblight.h
parentb0dfb037dc0b8b20fd87b3c88449a2ce20ff80e1 (diff)
parent6c462e0c0155a892a6efd0881086f8a7032316d2 (diff)
downloadqmk_firmware-41c93575a838e9b201ca113165085f47198e109d.tar.gz
qmk_firmware-41c93575a838e9b201ca113165085f47198e109d.tar.xz
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
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);