summaryrefslogtreecommitdiff
path: root/quantum/rgblight.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-02-07 13:32:31 -0500
committerGitHub <noreply@github.com>2017-02-07 13:32:31 -0500
commit13c394fba40d6a6c9eb0d2958d06a4ebae9e8e3f (patch)
treecca209200dcd72368b9544fd624b7a90ba1e08d8 /quantum/rgblight.h
parentc0c69a1a7cb232538e99cb4b9cf00370e8c6ce5c (diff)
parenta7882b1ffceb6002dd1adf916a8fc32523227860 (diff)
Merge pull request #1071 from dungdung/rgb_tweaks
RGB tweaks
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 726b8de72e..2b3e791bf8 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);