@@ -42,4 +42,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_DI_PIN D1
#define RGBLED_NUM 12
-#define RGBLIGHT_ANIMATIONS
+#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
+#define RGBLIGHT_EFFECT_TWINKLE
@@ -19,7 +19,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_DI_PIN F4
#define RGBLED_NUM 11
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
@@ -21,10 +21,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "../../config.h"
#define RGB_DI_PIN F4 // pin the DI on the WS2812B is hooked-up to
-#define RGBLIGHT_ANIMATIONS // run RGB animations
#define RGBLED_NUM 6 // number of LEDs
#define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue
#define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation
#define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness)
-#endif
+#endif
#define RGBLED_NUM 8
@@ -54,7 +54,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Underglow configuration
*/
#define RGB_DI_PIN E2
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
@@ -1,3 +1,5 @@
+#pragma once
+
#undef RGBLED_NUM
#define RGBLED_NUM 17
#undef RGBLIGHT_HUE_STEP
@@ -7,4 +9,13 @@
#undef RGBLIGHT_VAL_STEP
#define RGBLIGHT_VAL_STEP 5
-#undef RGBLIGHT_ANIMATIONS
+#undef RGBLIGHT_EFFECT_BREATHING
+#undef RGBLIGHT_EFFECT_RAINBOW_MOOD
+#undef RGBLIGHT_EFFECT_RAINBOW_SWIRL
+#undef RGBLIGHT_EFFECT_SNAKE
+#undef RGBLIGHT_EFFECT_KNIGHT
+#undef RGBLIGHT_EFFECT_CHRISTMAS
+#undef RGBLIGHT_EFFECT_STATIC_GRADIENT
+#undef RGBLIGHT_EFFECT_RGB_TEST
+#undef RGBLIGHT_EFFECT_ALTERNATING
+#undef RGBLIGHT_EFFECT_TWINKLE
@@ -14,4 +14,13 @@
@@ -50,16 +50,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
-/*== all animations enable ==*/
- #define RGBLIGHT_ANIMATIONS
-// /*== or choose animations ==*/
-// #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
+# 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
+# define RGBLIGHT_EFFECT_TWINKLE
#endif
@@ -23,7 +23,16 @@
#define LOCKING_RESYNC_ENABLE
#ifdef RGB_DI_PIN
#define RGBLED_NUM 0
@@ -46,7 +46,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_DI_PIN D0
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
@@ -62,18 +62,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-/*== or choose animations ==*/
-//# 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
/*== customize breathing effect ==*/
/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
//# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
@@ -53,7 +53,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_LIMIT_VAL 255
#define RGBLIGHT_SLEEP
@@ -63,4 +72,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
-
@@ -26,7 +26,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
#define RGBLED_NUM 5
#define LED_NUM_LOCK_PIN D0
#define LED_CAPS_LOCK_PIN D1
@@ -54,18 +54,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-// /*== all animations enable ==*/
@@ -51,18 +51,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// generated by KBFirmware JSON to QMK Parser
@@ -47,18 +47,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -16,5 +16,14 @@
#pragma once
#define RGBLIGHT_EFFECT_BREATHING // Only have Breathing Animation
@@ -48,7 +48,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_VAL_STEP 17
#define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
@@ -53,7 +53,16 @@
* F4 PIN for pre-soldered WS2812 LEDs
#define RGBLED_NUM 20
#define RGBLIGHT_SAT_STEP 15
@@ -63,4 +72,3 @@
@@ -29,9 +29,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED*/
#define RGB_DI_PIN D4
#define RGBLED_NUM 14 // Number of LEDs
@@ -162,7 +162,16 @@
#define ZC_DET_TIME 0
#define AUTO_CAL_TIME 3
#define RGBLED_NUM 10
#define RGB_DI_PIN B5
@@ -62,18 +62,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//# define RGBLIGHT_VAL_STEP 8
//# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
//# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
-//# define RGBLIGHT_ANIMATIONS
@@ -26,7 +26,16 @@
#define TAPPING_TERM 250
@@ -38,9 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
-// #define RGBLIGHT_ANIMATIONS
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
@@ -58,18 +58,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define RGBLIGHT_VAL_STEP 8
// #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
// /*== customize breathing effect ==*/
// /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
// #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
@@ -49,7 +49,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* ws2812 RGB LED */
#define RGB_DI_PIN C6
#define RGBLED_NUM 12 // Number of LEDs
@@ -39,8 +39,16 @@
- /*== all animations enable ==*/
@@ -19,7 +19,7 @@ void eeconfig_init_kb(void) {
#ifdef RGBLIGHT_ENABLE
rgblight_enable(); // Enable RGB by default
rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness
-#ifdef RGBLIGHT_ANIMATIONS
+#ifdef RGBLIGHT_EFFECT_RAINBOW_SWIRL
rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default
@@ -57,18 +57,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -66,18 +66,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -43,9 +43,14 @@
// Selectively enable animations to save on code size.
-#define RGBLIGHT_EFFECT_BREATHING
#define WS2812_SPI SPID1
#define WS2812_SPI_MOSI_PAL_MODE 5
#define RGBLED_NUM 16
#define RGB_DI_PIN A7
@@ -45,9 +45,6 @@
- // #define RGBLIGHT_ANIMATIONS
// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
@@ -58,4 +55,3 @@
// #define RGBLIGHT_EFFECT_RGB_TEST
// #define RGBLIGHT_EFFECT_ALTERNATING
@@ -45,10 +45,7 @@
- #define RGBLIGHT_EFFECT_BREATHING
+ #define RGBLIGHT_EFFECT_BREATHING
// #define RGBLIGHT_EFFECT_SNAKE
@@ -30,7 +30,16 @@
/* Audio */
@@ -34,6 +34,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 54
#define RGBLIGHT_LIMIT_VAL 200
// #define RGBLIGHT_LED_MAP { 11,10,9,8,7,6,5,4,3,2,1,0,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26 }
#define RGBLIGHT_SPLIT 27
@@ -35,6 +35,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_DI_PIN D3
#define RGBLED_NUM 30
#define RGBLIGHT_LIMIT_VAL 95
#define RGBLIGHT_SPLIT
@@ -60,18 +60,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -56,18 +56,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGBLIGHT_LED_MAP { 8, 7, 6, 5, 4, 3, 2, 1, 0, 17, 16, 15, 14, 13, 12, 11, 10, 9}
# define RGBLIGHT_LAYERS
#define RGBLIGHT_HUE_STEP 16
// #endif
@@ -58,18 +58,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -19,7 +19,16 @@
#define DEBOUNCE 5
@@ -44,7 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define RGB_DI_PIN E2
// #ifdef RGB_DI_PIN
// #define RGBLED_NUM 16
// #define RGBLIGHT_HUE_STEP 8
// #define RGBLIGHT_SAT_STEP 8
@@ -27,7 +27,6 @@
/*#define RGB_DI_PIN F4*/
-/*#define RGBLIGHT_ANIMATIONS*/
#define RGBLED_NUM 1
#define RGBLIGHT_HUE_STEP 1
#define RGBLIGHT_SAT_STEP 1
@@ -59,18 +59,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -50,18 +50,6 @@
#define RGBLED_NUM 9 // Number of LEDs
#define BACKLIGHT_LEVELS 5
#define RGBLIGHT_EFFECT_SNAKE_LENGTH 4
#define BREATHING_PERIOD 2
@@ -45,16 +45,4 @@
@@ -2,7 +2,16 @@
#define RGB_DI_PIN D5
#define RGBLED_NUM 13 // Number of LEDs
@@ -69,18 +69,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -2,4 +2,13 @@
#define RGBLED_NUM 40
#define APA102_DEFAULT_BRIGHTNESS 5
@@ -1,4 +1,13 @@
#define RGBLED_NUM 9
#define RGBLIGHT_LIMIT_VAL 128 /* The maximum brightness level */
@@ -32,7 +32,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -32,7 +32,16 @@
/* RGB Light Configuration */
#define RGBLED_NUM 13
@@ -55,18 +55,6 @@
@@ -29,7 +29,16 @@
@@ -73,18 +73,6 @@ COLS = number of cols per side which curently needs to be equal so there are bla
@@ -39,7 +39,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_SPLIT { 6, 6 }
#define RGB_DI_PIN E6
#define RGBLED_NUM 24
@@ -70,18 +70,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -41,7 +41,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_DI_PIN B1
#define RGBLED_NUM 14
@@ -56,18 +56,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -51,18 +51,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGBLIGHT_VAL_STEP 17
@@ -26,5 +26,4 @@
//RGB Stuff
#define RGBLED_NUM 39
#define RGBLIGHT_DEFAULT_HUE 201
@@ -57,5 +57,14 @@
// RGB Stuff
#define RGB_DI_PIN B0
@@ -70,7 +70,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define RGBLED_NUM 12 // Number of LEDs. see ./keymaps/default/config.h
// Helix keyboard RGB LED support
-//#define RGBLIGHT_ANIMATIONS : see ./rules.mk: LED_ANIMATIONS = yes or no
// see ./rules.mk: LED_BACK_ENABLE or LED_UNDERGLOW_ENABLE set yes
#ifdef RGBLED_BACK
#define RGBLED_NUM 25
@@ -77,7 +77,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#if MATRIX_ROWS == 8 // HELIX_ROWS == 4
@@ -1,6 +1,4 @@
RGBLIGHT_ENABLE = yes
-# Enable RGBLIGHT Animations
-OPT_DEFS += -DRGBLIGHT_ANIMATIONS
# Helix specific define for correct RGBLED_NUM
OPT_DEFS += -DRGBLED_BACK
@@ -78,9 +78,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_LIMIT_VAL 120 /* The maximum brightness level */
// #define RGBLIGHT_EFFECT_BREATHING
@@ -1,4 +1,4 @@
-/*
+/*
* Copyright 2020 Quentin LEBASTARD <qlebastard@gmail.com>
* Copyright 2020 Anthony MARIN <anthony@hidtech.ca>
*
@@ -27,7 +27,16 @@
#define RGB_DI_PIN D2
#define RGBLED_NUM 38
#define SOFT_SERIAL_PIN D0
@@ -44,4 +44,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLED_NUM 6
#define RGBLIGHT_HUE_STEP 5
@@ -51,9 +51,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGBLIGHT_VAL_STEP 8
# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
@@ -52,18 +52,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -58,7 +58,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -51,8 +51,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */
@@ -73,5 +81,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
* This is userful for the Windows task manager shortcut (ctrl+shift+esc).
// #define GRAVE_ESC_CTRL_OVERRIDE
@@ -34,7 +34,16 @@
@@ -48,9 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
- /*== or choose animations ==*/
@@ -55,18 +55,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
-# define RGBLIGHT_ANIMATIONS
#define RGB_DI_PIN A3
#define AUDIO_PIN A5
@@ -47,4 +56,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define AUDIO_PIN_ALT_AS_NEGATIVE
#define LED_CAPS_LOCK_PIN A6
-#define LED_SCROLL_LOCK_PIN A7
+#define LED_SCROLL_LOCK_PIN A7