summaryrefslogtreecommitdiff
path: root/quantum/rgblight.h
diff options
context:
space:
mode:
authorDavid Olsson <david.olsson@softhouse.se>2017-02-11 10:50:37 +0100
committerDavid Olsson <david.olsson@softhouse.se>2017-02-11 10:50:37 +0100
commit052f81aacaa3b5afa93f9db3667f31f9365348ce (patch)
treedcfde5c6fed00e248535ac4d975831f33316cc8a /quantum/rgblight.h
parentaa69337cf563d7b37722aabfcd1c5bae6c185208 (diff)
parent835556da9111d91b71c545d6a273e843f07631ae (diff)
downloadqmk_firmware-052f81aacaa3b5afa93f9db3667f31f9365348ce.tar.gz
qmk_firmware-052f81aacaa3b5afa93f9db3667f31f9365348ce.zip
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 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);