Remove RGBLIGHT_ANIMTION and clean up effect defines for 0-F (#18725)
This commit is contained in:
		
							parent
							
								
									be1c9af209
								
							
						
					
					
						commit
						d021bedf50
					
				| @ -62,9 +62,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| //#    define RGBLIGHT_VAL_STEP 8
 | //#    define RGBLIGHT_VAL_STEP 8
 | ||||||
| //#    define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //#    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_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */
 | ||||||
| /*== all animations enable ==*/ | /*== choose animations ==*/ | ||||||
| //#    define RGBLIGHT_ANIMATIONS
 |  | ||||||
| /*== or choose animations ==*/ |  | ||||||
| //#    define RGBLIGHT_EFFECT_BREATHING
 | //#    define RGBLIGHT_EFFECT_BREATHING
 | ||||||
| //#    define RGBLIGHT_EFFECT_RAINBOW_MOOD
 | //#    define RGBLIGHT_EFFECT_RAINBOW_MOOD
 | ||||||
| //#    define RGBLIGHT_EFFECT_RAINBOW_SWIRL
 | //#    define RGBLIGHT_EFFECT_RAINBOW_SWIRL
 | ||||||
|  | |||||||
| @ -46,12 +46,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
|   #define RGBLIGHT_VAL_STEP 8 |   #define RGBLIGHT_VAL_STEP 8 | ||||||
|   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ |   #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_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||||||
|   #define RGBLIGHT_ANIMATIONS /* comment this and uncomment the lines below to save space */ | #define RGBLIGHT_EFFECT_BREATHING | ||||||
|   // #define RGBLIGHT_EFFECT_BREATHING
 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||||||
|   // #define RGBLIGHT_EFFECT_SNAKE
 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||||||
|   // #define RGBLIGHT_EFFECT_STATIC_GRADIENT
 | #define RGBLIGHT_EFFECT_SNAKE | ||||||
|   // #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
 | #define RGBLIGHT_EFFECT_KNIGHT | ||||||
|   // #define RGBLIGHT_EFFECT_RAINBOW_MOOD
 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||||||
|  | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||||||
|  | #define RGBLIGHT_EFFECT_RGB_TEST | ||||||
|  | #define RGBLIGHT_EFFECT_ALTERNATING | ||||||
|  | #define RGBLIGHT_EFFECT_TWINKLE | ||||||
|   /* default setup after eeprom reset */ |   /* default setup after eeprom reset */ | ||||||
|   #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_EFFECT_BREATHING + 2 |   #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_EFFECT_BREATHING + 2 | ||||||
|   #define RGBLIGHT_DEFAULT_HUE 152 |   #define RGBLIGHT_DEFAULT_HUE 152 | ||||||
|  | |||||||
| @ -33,7 +33,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.*/ | |||||||
| 
 | 
 | ||||||
| /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||||||
| #define DEBOUNCE 5 | #define DEBOUNCE 5 | ||||||
| #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 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| #define OLED_FONT_H "./lib/glcdfont.c" | #define OLED_FONT_H "./lib/glcdfont.c" | ||||||
|  | |||||||
| @ -45,7 +45,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| 
 | 
 | ||||||
| #define RGB_DI_PIN F0 | #define RGB_DI_PIN F0 | ||||||
| #ifdef RGB_DI_PIN | #ifdef RGB_DI_PIN | ||||||
| #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 | ||||||
| #define RGBLED_NUM 14 | #define RGBLED_NUM 14 | ||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
|  | |||||||
| @ -51,7 +51,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| 
 | 
 | ||||||
| #define RGB_DI_PIN F0 | #define RGB_DI_PIN F0 | ||||||
| #ifdef RGB_DI_PIN | #ifdef RGB_DI_PIN | ||||||
| #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 | ||||||
| #define RGBLED_NUM 14 | #define RGBLED_NUM 14 | ||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
|  | |||||||
| @ -30,7 +30,16 @@ | |||||||
| 
 | 
 | ||||||
| #define RGB_DI_PIN E2 | #define RGB_DI_PIN E2 | ||||||
| #ifdef RGB_DI_PIN | #ifdef RGB_DI_PIN | ||||||
| #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 | ||||||
| #define RGBLED_NUM 16 | #define RGBLED_NUM 16 | ||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
|  | |||||||
| @ -60,18 +60,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| #        define RGBLIGHT_VAL_STEP 8 | #        define RGBLIGHT_VAL_STEP 8 | ||||||
| #        define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | #        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_SLEEP         /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||||||
| /*== all animations enable ==*/ | #        define RGBLIGHT_EFFECT_BREATHING | ||||||
| #        define RGBLIGHT_ANIMATIONS | #        define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||||||
| /*== or choose animations ==*/ | #        define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||||||
| //   #define RGBLIGHT_EFFECT_BREATHING
 | #        define RGBLIGHT_EFFECT_SNAKE | ||||||
| //   #define RGBLIGHT_EFFECT_RAINBOW_MOOD
 | #        define RGBLIGHT_EFFECT_KNIGHT | ||||||
| //   #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
 | #        define RGBLIGHT_EFFECT_CHRISTMAS | ||||||
| //   #define RGBLIGHT_EFFECT_SNAKE
 | #        define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||||||
| //   #define RGBLIGHT_EFFECT_KNIGHT
 | #        define RGBLIGHT_EFFECT_RGB_TEST | ||||||
| //   #define RGBLIGHT_EFFECT_CHRISTMAS
 | #        define RGBLIGHT_EFFECT_ALTERNATING | ||||||
| //   #define RGBLIGHT_EFFECT_STATIC_GRADIENT
 | #        define RGBLIGHT_EFFECT_TWINKLE | ||||||
| //   #define RGBLIGHT_EFFECT_RGB_TEST
 |  | ||||||
| //   #define RGBLIGHT_EFFECT_ALTERNATING
 |  | ||||||
| #    elif defined RGB_MATRIX_ENABLE | #    elif defined RGB_MATRIX_ENABLE | ||||||
| #        define RGB_MATRIX_KEYPRESSES   // reacts to keypresses
 | #        define RGB_MATRIX_KEYPRESSES   // reacts to keypresses
 | ||||||
| #        define RGB_MATRIX_FRAMEBUFFER_EFFECTS  // reacts to keyreleases (instead of keypresses)
 | #        define RGB_MATRIX_FRAMEBUFFER_EFFECTS  // reacts to keyreleases (instead of keypresses)
 | ||||||
|  | |||||||
| @ -21,7 +21,16 @@ | |||||||
| /* Underglow options */ | /* Underglow options */ | ||||||
| #define RGB_DI_PIN B1 | #define RGB_DI_PIN B1 | ||||||
| #ifdef RGB_DI_PIN | #ifdef RGB_DI_PIN | ||||||
| #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 | ||||||
| #define RGBLED_NUM 1 | #define RGBLED_NUM 1 | ||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
|  | |||||||
| @ -41,18 +41,17 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
|    #define RGBLIGHT_VAL_STEP 8 |    #define RGBLIGHT_VAL_STEP 8 | ||||||
|    #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ |    #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_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||||||
|  /*== all animations enable ==*/ | #    define RGBLIGHT_EFFECT_BREATHING | ||||||
|    #define RGBLIGHT_ANIMATIONS | #    define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||||||
| // /*== or choose animations ==*/
 | #    define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||||||
| //   #define RGBLIGHT_EFFECT_BREATHING
 | #    define RGBLIGHT_EFFECT_SNAKE | ||||||
| //   #define RGBLIGHT_EFFECT_RAINBOW_MOOD
 | #    define RGBLIGHT_EFFECT_KNIGHT | ||||||
| //   #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
 | #    define RGBLIGHT_EFFECT_CHRISTMAS | ||||||
| //   #define RGBLIGHT_EFFECT_SNAKE
 | #    define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||||||
| //   #define RGBLIGHT_EFFECT_KNIGHT
 | #    define RGBLIGHT_EFFECT_RGB_TEST | ||||||
| //   #define RGBLIGHT_EFFECT_CHRISTMAS
 | #    define RGBLIGHT_EFFECT_ALTERNATING | ||||||
| //   #define RGBLIGHT_EFFECT_STATIC_GRADIENT
 | #    define RGBLIGHT_EFFECT_TWINKLE | ||||||
| //   #define RGBLIGHT_EFFECT_RGB_TEST
 | 
 | ||||||
| //   #define RGBLIGHT_EFFECT_ALTERNATING
 |  | ||||||
| // /*== customize breathing effect ==*/
 | // /*== customize breathing effect ==*/
 | ||||||
| //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | ||||||
| //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | ||||||
|  | |||||||
| @ -45,18 +45,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
|    #define RGBLIGHT_VAL_STEP 8 |    #define RGBLIGHT_VAL_STEP 8 | ||||||
|    #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ |    #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_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||||||
|  /*== all animations enable ==*/ | #    define RGBLIGHT_EFFECT_BREATHING | ||||||
|    #define RGBLIGHT_ANIMATIONS | #    define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||||||
| // /*== or choose animations ==*/
 | #    define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||||||
| //   #define RGBLIGHT_EFFECT_BREATHING
 | #    define RGBLIGHT_EFFECT_SNAKE | ||||||
| //   #define RGBLIGHT_EFFECT_RAINBOW_MOOD
 | #    define RGBLIGHT_EFFECT_KNIGHT | ||||||
| //   #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
 | #    define RGBLIGHT_EFFECT_CHRISTMAS | ||||||
| //   #define RGBLIGHT_EFFECT_SNAKE
 | #    define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||||||
| //   #define RGBLIGHT_EFFECT_KNIGHT
 | #    define RGBLIGHT_EFFECT_RGB_TEST | ||||||
| //   #define RGBLIGHT_EFFECT_CHRISTMAS
 | #    define RGBLIGHT_EFFECT_ALTERNATING | ||||||
| //   #define RGBLIGHT_EFFECT_STATIC_GRADIENT
 | #    define RGBLIGHT_EFFECT_TWINKLE | ||||||
| //   #define RGBLIGHT_EFFECT_RGB_TEST
 |  | ||||||
| //   #define RGBLIGHT_EFFECT_ALTERNATING
 |  | ||||||
| // /*== customize breathing effect ==*/
 | // /*== customize breathing effect ==*/
 | ||||||
| //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | ||||||
| //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | ||||||
| @ -71,4 +69,4 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||||
| #define LOCKING_SUPPORT_ENABLE | #define LOCKING_SUPPORT_ENABLE | ||||||
| /* Locking resynchronize hack */ | /* Locking resynchronize hack */ | ||||||
| #define LOCKING_RESYNC_ENABLE | #define LOCKING_RESYNC_ENABLE | ||||||
|  | |||||||
| @ -37,7 +37,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| #    define RGBLIGHT_VAL_STEP 8 | #    define RGBLIGHT_VAL_STEP 8 | ||||||
| #    define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | #    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_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 | ||||||
|  | #    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 | #endif | ||||||
| 
 | 
 | ||||||
| #define OLED_FONT_H "keyboards/25keys/cassette42/common/glcdfont.c" | #define OLED_FONT_H "keyboards/25keys/cassette42/common/glcdfont.c" | ||||||
|  | |||||||
| @ -106,9 +106,7 @@ ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes) | |||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| ifeq ($(strip $(LED_ANIMATIONS)), yes) | ifeq ($(strip $(LED_ANIMATIONS)), yes) | ||||||
| # OPT_DEFS += -DRGBLIGHT_ANIMATIONS
 |  | ||||||
|   OPT_DEFS += -DLED_ANIMATIONS |   OPT_DEFS += -DLED_ANIMATIONS | ||||||
| 
 |  | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| ifeq ($(strip $(RGB_MATRIX_SPLIT_RIGHT)), yes) | ifeq ($(strip $(RGB_MATRIX_SPLIT_RIGHT)), yes) | ||||||
|  | |||||||
| @ -99,9 +99,7 @@ ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes) | |||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| ifeq ($(strip $(LED_ANIMATIONS)), yes) | ifeq ($(strip $(LED_ANIMATIONS)), yes) | ||||||
| # OPT_DEFS += -DRGBLIGHT_ANIMATIONS
 |  | ||||||
|   OPT_DEFS += -DLED_ANIMATIONS |   OPT_DEFS += -DLED_ANIMATIONS | ||||||
| 
 |  | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
 | ||||||
|  | |||||||
| @ -99,9 +99,7 @@ ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes) | |||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| ifeq ($(strip $(LED_ANIMATIONS)), yes) | ifeq ($(strip $(LED_ANIMATIONS)), yes) | ||||||
| # OPT_DEFS += -DRGBLIGHT_ANIMATIONS
 |  | ||||||
|   OPT_DEFS += -DLED_ANIMATIONS |   OPT_DEFS += -DLED_ANIMATIONS | ||||||
| 
 |  | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
 | ||||||
|  | |||||||
| @ -113,9 +113,7 @@ ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes) | |||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| ifeq ($(strip $(LED_ANIMATIONS)), yes) | ifeq ($(strip $(LED_ANIMATIONS)), yes) | ||||||
| # OPT_DEFS += -DRGBLIGHT_ANIMATIONS
 |  | ||||||
|   OPT_DEFS += -DLED_ANIMATIONS |   OPT_DEFS += -DLED_ANIMATIONS | ||||||
| 
 |  | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| ifeq ($(strip $(RGB_MATRIX_SPLIT_RIGHT)), yes) | ifeq ($(strip $(RGB_MATRIX_SPLIT_RIGHT)), yes) | ||||||
|  | |||||||
| @ -28,14 +28,14 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| //  place overrides here
 | //  place overrides here
 | ||||||
| //  Selection of RGBLIGHT MODE to use.
 | //  Selection of RGBLIGHT MODE to use.
 | ||||||
| #if defined(LED_ANIMATIONS) | #if defined(LED_ANIMATIONS) | ||||||
|     #define RGBLIGHT_ANIMATIONS | #    define RGBLIGHT_EFFECT_BREATHING | ||||||
| //    #define RGBLIGHT_EFFECT_BREATHINGtt
 | #    define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||||||
| //    #define RGBLIGHT_EFFECT_RAINBOW_MOOD
 | #    define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||||||
| //    #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
 | #    define RGBLIGHT_EFFECT_SNAKE | ||||||
| //    #define RGBLIGHT_EFFECT_SNAKE
 | #    define RGBLIGHT_EFFECT_KNIGHT | ||||||
| //    #define RGBLIGHT_EFFECT_KNIGHT
 | #    define RGBLIGHT_EFFECT_CHRISTMAS | ||||||
| //    #define RGBLIGHT_EFFECT_CHRISTMAS
 | #    define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||||||
| //    #define RGBLIGHT_EFFECT_STATIC_GRADIENT
 | #    define RGBLIGHT_EFFECT_RGB_TEST | ||||||
| //    #define RGBLIGHT_EFFECT_RGB_TEST
 | #    define RGBLIGHT_EFFECT_ALTERNATING | ||||||
| //    #define RGBLIGHT_EFFECT_ALTERNATING
 | #    define RGBLIGHT_EFFECT_TWINKLE | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -98,9 +98,7 @@ ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes) | |||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| ifeq ($(strip $(LED_ANIMATIONS)), yes) | ifeq ($(strip $(LED_ANIMATIONS)), yes) | ||||||
| # OPT_DEFS += -DRGBLIGHT_ANIMATIONS
 |  | ||||||
|   OPT_DEFS += -DLED_ANIMATIONS |   OPT_DEFS += -DLED_ANIMATIONS | ||||||
| 
 |  | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
| ifeq ($(strip $(RGB_MATRIX_SPLIT_RIGHT)), yes) | ifeq ($(strip $(RGB_MATRIX_SPLIT_RIGHT)), yes) | ||||||
|  | |||||||
| @ -16,7 +16,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| */ | */ | ||||||
| 
 | 
 | ||||||
| // RGB LED support
 | // RGB LED support
 | ||||||
| //#define RGBLIGHT_ANIMATIONS : see ./rules.mk: LED_ANIMATIONS = yes or no
 | // see ./rules.mk: LED_ANIMATIONS = yes or no
 | ||||||
| //    see ./rules.mk: LED_BACK_ENABLE or LED_UNDERGLOW_ENABLE set yes
 | //    see ./rules.mk: LED_BACK_ENABLE or LED_UNDERGLOW_ENABLE set yes
 | ||||||
| #ifdef RGBLIGHT_ENABLE | #ifdef RGBLIGHT_ENABLE | ||||||
|   #define RGBLIGHT_SPLIT |   #define RGBLIGHT_SPLIT | ||||||
|  | |||||||
| @ -16,7 +16,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| */ | */ | ||||||
| 
 | 
 | ||||||
| // RGB LED support
 | // RGB LED support
 | ||||||
| //#define RGBLIGHT_ANIMATIONS : see ./rules.mk: LED_ANIMATIONS = yes or no
 | // see ./rules.mk: LED_ANIMATIONS = yes or no
 | ||||||
| //    see ./rules.mk: LED_BACK_ENABLE or LED_UNDERGLOW_ENABLE set yes
 | //    see ./rules.mk: LED_BACK_ENABLE or LED_UNDERGLOW_ENABLE set yes
 | ||||||
| #ifdef RGBLIGHT_ENABLE | #ifdef RGBLIGHT_ENABLE | ||||||
|   #define RGBLIGHT_SPLIT |   #define RGBLIGHT_SPLIT | ||||||
|  | |||||||
| @ -30,6 +30,15 @@ | |||||||
| 
 | 
 | ||||||
| #ifdef RGBLIGHT_ENABLE | #ifdef RGBLIGHT_ENABLE | ||||||
| #define RGB_DI_PIN C6 | #define RGB_DI_PIN C6 | ||||||
| #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 | ||||||
| #define RGBLED_NUM 3 | #define RGBLED_NUM 3 | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -53,7 +53,6 @@ | |||||||
| 
 | 
 | ||||||
| // #define RGB_DI_PIN E2
 | // #define RGB_DI_PIN E2
 | ||||||
| // #ifdef RGB_DI_PIN
 | // #ifdef RGB_DI_PIN
 | ||||||
| // #define RGBLIGHT_ANIMATIONS
 |  | ||||||
| // #define RGBLED_NUM 16
 | // #define RGBLED_NUM 16
 | ||||||
| // #define RGBLIGHT_HUE_STEP 8
 | // #define RGBLIGHT_HUE_STEP 8
 | ||||||
| // #define RGBLIGHT_SAT_STEP 8
 | // #define RGBLIGHT_SAT_STEP 8
 | ||||||
|  | |||||||
| @ -64,18 +64,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| //   #define RGBLIGHT_VAL_STEP 8
 | //   #define RGBLIGHT_VAL_STEP 8
 | ||||||
| //   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //   #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_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
 |  | ||||||
| // /*== customize breathing effect ==*/
 | // /*== customize breathing effect ==*/
 | ||||||
| //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | ||||||
| //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | ||||||
|  | |||||||
| @ -30,7 +30,6 @@ | |||||||
| 
 | 
 | ||||||
| // #define RGB_DI_PIN E2
 | // #define RGB_DI_PIN E2
 | ||||||
| // #ifdef RGB_DI_PIN
 | // #ifdef RGB_DI_PIN
 | ||||||
| // #define RGBLIGHT_ANIMATIONS
 |  | ||||||
| // #define RGBLED_NUM 16
 | // #define RGBLED_NUM 16
 | ||||||
| // #define RGBLIGHT_HUE_STEP 8
 | // #define RGBLIGHT_HUE_STEP 8
 | ||||||
| // #define RGBLIGHT_SAT_STEP 8
 | // #define RGBLIGHT_SAT_STEP 8
 | ||||||
|  | |||||||
| @ -53,7 +53,6 @@ | |||||||
| 
 | 
 | ||||||
| // #define RGB_DI_PIN E2
 | // #define RGB_DI_PIN E2
 | ||||||
| // #ifdef RGB_DI_PIN
 | // #ifdef RGB_DI_PIN
 | ||||||
| // #define RGBLIGHT_ANIMATIONS
 |  | ||||||
| // #define RGBLED_NUM 16
 | // #define RGBLED_NUM 16
 | ||||||
| // #define RGBLIGHT_HUE_STEP 8
 | // #define RGBLIGHT_HUE_STEP 8
 | ||||||
| // #define RGBLIGHT_SAT_STEP 8
 | // #define RGBLIGHT_SAT_STEP 8
 | ||||||
|  | |||||||
| @ -53,7 +53,6 @@ | |||||||
| 
 | 
 | ||||||
| // #define RGB_DI_PIN E2
 | // #define RGB_DI_PIN E2
 | ||||||
| // #ifdef RGB_DI_PIN
 | // #ifdef RGB_DI_PIN
 | ||||||
| // #define RGBLIGHT_ANIMATIONS
 |  | ||||||
| // #define RGBLED_NUM 16
 | // #define RGBLED_NUM 16
 | ||||||
| // #define RGBLIGHT_HUE_STEP 8
 | // #define RGBLIGHT_HUE_STEP 8
 | ||||||
| // #define RGBLIGHT_SAT_STEP 8
 | // #define RGBLIGHT_SAT_STEP 8
 | ||||||
|  | |||||||
| @ -29,7 +29,16 @@ | |||||||
| #define LOCKING_RESYNC_ENABLE | #define LOCKING_RESYNC_ENABLE | ||||||
| 
 | 
 | ||||||
| #ifdef RGB_DI_PIN | #ifdef RGB_DI_PIN | ||||||
| #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 | ||||||
| #define RGBLED_NUM 0 | #define RGBLED_NUM 0 | ||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
|  | |||||||
| @ -3,7 +3,16 @@ | |||||||
| #undef RGB_DI_PIN | #undef RGB_DI_PIN | ||||||
| #undef RGBLED_NUM | #undef RGBLED_NUM | ||||||
| #define RGB_DI_PIN D2 | #define RGB_DI_PIN D2 | ||||||
| #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 | ||||||
| #define RGBLED_NUM 8 | #define RGBLED_NUM 8 | ||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
|  | |||||||
| @ -3,7 +3,16 @@ | |||||||
| #undef RGB_DI_PIN | #undef RGB_DI_PIN | ||||||
| #undef RGBLED_NUM | #undef RGBLED_NUM | ||||||
| #define RGB_DI_PIN D3 | #define RGB_DI_PIN D3 | ||||||
| #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 | ||||||
| #define RGBLED_NUM 10 | #define RGBLED_NUM 10 | ||||||
| 
 | 
 | ||||||
| /* Make layout upside down = USB port on left side */ | /* Make layout upside down = USB port on left side */ | ||||||
|  | |||||||
| @ -56,18 +56,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| //   #define RGBLIGHT_VAL_STEP 8
 | //   #define RGBLIGHT_VAL_STEP 8
 | ||||||
| //   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //   #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_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
 |  | ||||||
| // #endif
 | // #endif
 | ||||||
| 
 | 
 | ||||||
| /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||||||
|  | |||||||
| @ -29,7 +29,16 @@ | |||||||
| 
 | 
 | ||||||
| /* ws2812 RGB LED */ | /* ws2812 RGB LED */ | ||||||
| #define RGB_DI_PIN B4 | #define RGB_DI_PIN B4 | ||||||
| #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 | ||||||
| #define RGBLED_NUM 8    // Number of LEDs
 | #define RGBLED_NUM 8    // Number of LEDs
 | ||||||
| // #define RGBLIGHT_HUE_STEP 10
 | // #define RGBLIGHT_HUE_STEP 10
 | ||||||
| // #define RGBLIGHT_SAT_STEP 17
 | // #define RGBLIGHT_SAT_STEP 17
 | ||||||
|  | |||||||
| @ -51,18 +51,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| //   #define RGBLIGHT_VAL_STEP 8
 | //   #define RGBLIGHT_VAL_STEP 8
 | ||||||
| //   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //   #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_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
 |  | ||||||
| // #endif
 | // #endif
 | ||||||
| 
 | 
 | ||||||
| /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||||||
|  | |||||||
| @ -43,5 +43,14 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| 
 | 
 | ||||||
| /* ws2812 RGB LED */ | /* ws2812 RGB LED */ | ||||||
| #define RGB_DI_PIN D3 | #define RGB_DI_PIN D3 | ||||||
| #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 | ||||||
| #define RGBLED_NUM 6    // Number of LEDs
 | #define RGBLED_NUM 6    // Number of LEDs
 | ||||||
|  | |||||||
| @ -18,7 +18,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| #pragma once | #pragma once | ||||||
| 
 | 
 | ||||||
| #undef RGBLED_NUM | #undef RGBLED_NUM | ||||||
| #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 | ||||||
| #define RGBLED_NUM 12 | #define RGBLED_NUM 12 | ||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
|  | |||||||
| @ -46,18 +46,6 @@ | |||||||
| //   #define RGBLIGHT_VAL_STEP 8
 | //   #define RGBLIGHT_VAL_STEP 8
 | ||||||
| //   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //   #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_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
 |  | ||||||
| // /*== customize breathing effect ==*/
 | // /*== customize breathing effect ==*/
 | ||||||
| //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | ||||||
| //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | ||||||
|  | |||||||
| @ -44,7 +44,16 @@ | |||||||
| 
 | 
 | ||||||
| // enable RGB underglow
 | // enable RGB underglow
 | ||||||
| #define RGB_DI_PIN B4 | #define RGB_DI_PIN B4 | ||||||
| #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 | ||||||
| #define RGBLED_NUM 10 | #define RGBLED_NUM 10 | ||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
|  | |||||||
| @ -59,18 +59,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| //   #define RGBLIGHT_VAL_STEP 8
 | //   #define RGBLIGHT_VAL_STEP 8
 | ||||||
| //   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //   #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_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
 |  | ||||||
| // /*== customize breathing effect ==*/
 | // /*== customize breathing effect ==*/
 | ||||||
| //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | ||||||
| //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | ||||||
|  | |||||||
| @ -24,7 +24,16 @@ | |||||||
| 
 | 
 | ||||||
| /* setup lighting */ | /* setup lighting */ | ||||||
| #define RGB_DI_PIN B5 | #define RGB_DI_PIN B5 | ||||||
| #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 | ||||||
| #define RGBLED_NUM 30 | #define RGBLED_NUM 30 | ||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
|  | |||||||
| @ -19,6 +19,15 @@ | |||||||
| #include "config_common.h" | #include "config_common.h" | ||||||
| 
 | 
 | ||||||
| // place overrides here
 | // place overrides here
 | ||||||
| #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 | ||||||
| #define RGB_DI_PIN D3    // The pin the LED strip is connected to
 | #define RGB_DI_PIN D3    // The pin the LED strip is connected to
 | ||||||
| #define RGBLED_NUM 7     // Number of LEDs in your strip
 | #define RGBLED_NUM 7     // Number of LEDs in your strip
 | ||||||
|  | |||||||
| @ -28,4 +28,13 @@ | |||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
| #define RGBLIGHT_VAL_STEP 8 | #define RGBLIGHT_VAL_STEP 8 | ||||||
| #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 | ||||||
|  | |||||||
| @ -38,8 +38,17 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| #define WS2812_SPI_MOSI_PAL_MODE 0 | #define WS2812_SPI_MOSI_PAL_MODE 0 | ||||||
| #define WS2812_SPI_SCK_PIN A5 | #define WS2812_SPI_SCK_PIN A5 | ||||||
| #define WS2812_SPI_SCK_PAL_MODE 0 | #define WS2812_SPI_SCK_PAL_MODE 0 | ||||||
| #define RGBLED_NUM  16 | #define RGBLED_NUM 16 | ||||||
| #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 | ||||||
| 
 | 
 | ||||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||||
| #define LOCKING_SUPPORT_ENABLE | #define LOCKING_SUPPORT_ENABLE | ||||||
|  | |||||||
| @ -25,4 +25,13 @@ | |||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
| #define RGBLIGHT_VAL_STEP 8 | #define RGBLIGHT_VAL_STEP 8 | ||||||
| #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 | ||||||
|  | |||||||
| @ -30,4 +30,13 @@ | |||||||
| // ws2812 options
 | // ws2812 options
 | ||||||
| #define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to
 | #define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to
 | ||||||
| #define RGBLED_NUM 8 // number of LEDs
 | #define RGBLED_NUM 8 // number of LEDs
 | ||||||
| #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 | ||||||
|  | |||||||
| @ -18,6 +18,15 @@ | |||||||
| 
 | 
 | ||||||
| #define BACKLIGHT_BREATHING | #define BACKLIGHT_BREATHING | ||||||
| #define BREATHING_PERIOD 2 | #define BREATHING_PERIOD 2 | ||||||
| #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 | ||||||
| 
 | 
 | ||||||
| // place overrides here
 | // place overrides here
 | ||||||
|  | |||||||
| @ -51,18 +51,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
|    #define RGBLIGHT_VAL_STEP 8 |    #define RGBLIGHT_VAL_STEP 8 | ||||||
|    #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ |    #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_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
 |  | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||||||
|  | |||||||
| @ -59,7 +59,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| #    define RGBLIGHT_VAL_STEP 8 | #    define RGBLIGHT_VAL_STEP 8 | ||||||
| #    define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | #    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_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 | ||||||
|  | #    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 | #endif | ||||||
| 
 | 
 | ||||||
| /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||||||
|  | |||||||
| @ -55,23 +55,21 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
|   #define RGBLIGHT_SAT_STEP 8 |   #define RGBLIGHT_SAT_STEP 8 | ||||||
|   #define RGBLIGHT_VAL_STEP 8 |   #define RGBLIGHT_VAL_STEP 8 | ||||||
|   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ |   #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_SLEEP       /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||||||
| /*== all animations enable ==*/ | #    define RGBLIGHT_EFFECT_BREATHING | ||||||
|   #define RGBLIGHT_ANIMATIONS | #    define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||||||
| /*== or choose animations ==*/ | #    define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||||||
| //  #define RGBLIGHT_EFFECT_BREATHING
 | #    define RGBLIGHT_EFFECT_SNAKE | ||||||
| //  #define RGBLIGHT_EFFECT_RAINBOW_MOOD
 | #    define RGBLIGHT_EFFECT_KNIGHT | ||||||
| //  #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
 | #    define RGBLIGHT_EFFECT_CHRISTMAS | ||||||
| //  #define RGBLIGHT_EFFECT_SNAKE
 | #    define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||||||
| //  #define RGBLIGHT_EFFECT_KNIGHT
 | #    define RGBLIGHT_EFFECT_RGB_TEST | ||||||
| //  #define RGBLIGHT_EFFECT_CHRISTMAS
 | #    define RGBLIGHT_EFFECT_ALTERNATING | ||||||
| //  #define RGBLIGHT_EFFECT_STATIC_GRADIENT
 | #    define RGBLIGHT_EFFECT_TWINKLE | ||||||
| //  #define RGBLIGHT_EFFECT_RGB_TEST
 |  | ||||||
| //  #define RGBLIGHT_EFFECT_ALTERNATING
 |  | ||||||
| /*== customize breathing effect ==*/ | /*== customize breathing effect ==*/ | ||||||
|   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||||||
|   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | #    define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
 | ||||||
|   /*==== use exp() and sin() ====*/ |                                             /*==== use exp() and sin() ====*/ | ||||||
| //  #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85  // 1 to 2.7
 | //  #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85  // 1 to 2.7
 | ||||||
| //  #define RGBLIGHT_EFFECT_BREATHE_MAX    255   // 0 to 255
 | //  #define RGBLIGHT_EFFECT_BREATHE_MAX    255   // 0 to 255
 | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -70,18 +70,6 @@ B0, which is unconnected on the PCB | |||||||
| //   #define RGBLIGHT_VAL_STEP 8
 | //   #define RGBLIGHT_VAL_STEP 8
 | ||||||
| //   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //   #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_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
 |  | ||||||
| // /*== customize breathing effect ==*/
 | // /*== customize breathing effect ==*/
 | ||||||
| //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | ||||||
| //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | ||||||
|  | |||||||
| @ -42,7 +42,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| 
 | 
 | ||||||
| #define RGB_DI_PIN B15 | #define RGB_DI_PIN B15 | ||||||
| #define RGBLED_NUM 24 | #define RGBLED_NUM 24 | ||||||
| #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 | ||||||
| 
 | 
 | ||||||
| #define WS2812_PWM_COMPLEMENTARY_OUTPUT | #define WS2812_PWM_COMPLEMENTARY_OUTPUT | ||||||
| #define WS2812_PWM_DRIVER PWMD1 | #define WS2812_PWM_DRIVER PWMD1 | ||||||
|  | |||||||
| @ -51,18 +51,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| //   #define RGBLIGHT_VAL_STEP 8
 | //   #define RGBLIGHT_VAL_STEP 8
 | ||||||
| //   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //   #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_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
 |  | ||||||
| // #endif
 | // #endif
 | ||||||
| 
 | 
 | ||||||
| /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||||||
|  | |||||||
| @ -37,7 +37,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| #define LOCKING_RESYNC_ENABLE | #define LOCKING_RESYNC_ENABLE | ||||||
| 
 | 
 | ||||||
| //RGB Underglow WS2812
 | //RGB Underglow WS2812
 | ||||||
| #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 | ||||||
| #define RGBLED_NUM 24 | #define RGBLED_NUM 24 | ||||||
| #define RGB_DI_PIN B15 | #define RGB_DI_PIN B15 | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -56,18 +56,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| //   #define RGBLIGHT_VAL_STEP 8
 | //   #define RGBLIGHT_VAL_STEP 8
 | ||||||
| //   #define RGBLIGHT_LIMIT_VAL 230 /* The maximum brightness level */
 | //   #define RGBLIGHT_LIMIT_VAL 230 /* The maximum brightness level */
 | ||||||
| //   #define RGBLIGHT_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */
 | //   #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
 |  | ||||||
| //#endif
 | //#endif
 | ||||||
| 
 | 
 | ||||||
| /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||||||
|  | |||||||
| @ -56,18 +56,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| //   #define RGBLIGHT_VAL_STEP 8
 | //   #define RGBLIGHT_VAL_STEP 8
 | ||||||
| //   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //   #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_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
 |  | ||||||
| // #endif
 | // #endif
 | ||||||
| 
 | 
 | ||||||
| /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||||||
|  | |||||||
| @ -64,18 +64,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| //   #define RGBLIGHT_VAL_STEP 8
 | //   #define RGBLIGHT_VAL_STEP 8
 | ||||||
| //   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //   #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_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
 |  | ||||||
| // #endif
 | // #endif
 | ||||||
| 
 | 
 | ||||||
| /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||||||
|  | |||||||
| @ -51,18 +51,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
|   #define RGBLIGHT_VAL_STEP 8 |   #define RGBLIGHT_VAL_STEP 8 | ||||||
|   #define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */ |   #define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */ | ||||||
|   #define RGBLIGHT_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */ |   #define RGBLIGHT_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||||||
| /*== all animations enable ==*/ | #    define RGBLIGHT_EFFECT_BREATHING | ||||||
|   #define RGBLIGHT_ANIMATIONS | #    define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||||||
| // /*== or choose animations ==*/
 | #    define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||||||
| //   #define RGBLIGHT_EFFECT_BREATHING
 | #    define RGBLIGHT_EFFECT_SNAKE | ||||||
| //   #define RGBLIGHT_EFFECT_RAINBOW_MOOD
 | #    define RGBLIGHT_EFFECT_KNIGHT | ||||||
| //   #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
 | #    define RGBLIGHT_EFFECT_CHRISTMAS | ||||||
| //   #define RGBLIGHT_EFFECT_SNAKE
 | #    define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||||||
| //   #define RGBLIGHT_EFFECT_KNIGHT
 | #    define RGBLIGHT_EFFECT_RGB_TEST | ||||||
| //   #define RGBLIGHT_EFFECT_CHRISTMAS
 | #    define RGBLIGHT_EFFECT_ALTERNATING | ||||||
| //   #define RGBLIGHT_EFFECT_STATIC_GRADIENT
 | #    define RGBLIGHT_EFFECT_TWINKLE | ||||||
| //   #define RGBLIGHT_EFFECT_RGB_TEST
 |  | ||||||
| //   #define RGBLIGHT_EFFECT_ALTERNATING
 |  | ||||||
| // /*== customize breathing effect ==*/
 | // /*== customize breathing effect ==*/
 | ||||||
| //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | ||||||
| //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | ||||||
|  | |||||||
| @ -56,18 +56,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| //   #define RGBLIGHT_VAL_STEP 8
 | //   #define RGBLIGHT_VAL_STEP 8
 | ||||||
| //   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //   #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_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
 |  | ||||||
| // /*== customize breathing effect ==*/
 | // /*== customize breathing effect ==*/
 | ||||||
| //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | ||||||
| //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | ||||||
|  | |||||||
| @ -56,18 +56,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| //   #define RGBLIGHT_VAL_STEP 8
 | //   #define RGBLIGHT_VAL_STEP 8
 | ||||||
| //   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //   #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_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
 |  | ||||||
| // #endif
 | // #endif
 | ||||||
| 
 | 
 | ||||||
| /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||||||
|  | |||||||
| @ -41,18 +41,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||||||
|   #define RGBLIGHT_VAL_STEP 8 |   #define RGBLIGHT_VAL_STEP 8 | ||||||
|   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ |   #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_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
 |  | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||||||
|  | |||||||
| @ -46,7 +46,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| #define RGBLIGHT_SPLIT | #define RGBLIGHT_SPLIT | ||||||
| #define RGBLED_SPLIT { 34, 34 } | #define RGBLED_SPLIT { 34, 34 } | ||||||
| #define RGBLIGHT_LIMIT_VAL 170 | #define RGBLIGHT_LIMIT_VAL 170 | ||||||
| #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 | ||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
| #define RGBLIGHT_VAL_STEP 8 | #define RGBLIGHT_VAL_STEP 8 | ||||||
|  | |||||||
| @ -48,7 +48,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| 
 | 
 | ||||||
| #define RGB_DI_PIN E6 | #define RGB_DI_PIN E6 | ||||||
| #ifdef RGB_DI_PIN | #ifdef RGB_DI_PIN | ||||||
| #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 | ||||||
| #define RGBLED_NUM 20 | #define RGBLED_NUM 20 | ||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
|  | |||||||
| @ -56,18 +56,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
|   #define RGBLIGHT_VAL_STEP 8 |   #define RGBLIGHT_VAL_STEP 8 | ||||||
|   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ |   #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_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||||||
| /*== all animations enable ==*/ | #    define RGBLIGHT_EFFECT_BREATHING | ||||||
|   #define RGBLIGHT_ANIMATIONS | #    define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||||||
| /*== or choose animations ==*/ | #    define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||||||
| //   #define RGBLIGHT_EFFECT_BREATHING
 | #    define RGBLIGHT_EFFECT_SNAKE | ||||||
| //   #define RGBLIGHT_EFFECT_RAINBOW_MOOD
 | #    define RGBLIGHT_EFFECT_KNIGHT | ||||||
| //   #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
 | #    define RGBLIGHT_EFFECT_CHRISTMAS | ||||||
| //   #define RGBLIGHT_EFFECT_SNAKE
 | #    define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||||||
| //   #define RGBLIGHT_EFFECT_KNIGHT
 | #    define RGBLIGHT_EFFECT_RGB_TEST | ||||||
| //   #define RGBLIGHT_EFFECT_CHRISTMAS
 | #    define RGBLIGHT_EFFECT_ALTERNATING | ||||||
| //   #define RGBLIGHT_EFFECT_STATIC_GRADIENT
 | #    define RGBLIGHT_EFFECT_TWINKLE | ||||||
| //   #define RGBLIGHT_EFFECT_RGB_TEST
 |  | ||||||
| //   #define RGBLIGHT_EFFECT_ALTERNATING
 |  | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||||||
|  | |||||||
| @ -51,8 +51,17 @@ | |||||||
| 
 | 
 | ||||||
| #define RGB_DI_PIN E2 | #define RGB_DI_PIN E2 | ||||||
| #ifdef RGB_DI_PIN | #ifdef RGB_DI_PIN | ||||||
| #    define RGBLIGHT_ANIMATIONS | #    define RGBLIGHT_EFFECT_BREATHING | ||||||
| #    define RGBLED_NUM        4 | #    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 | ||||||
|  | #    define RGBLED_NUM 4 | ||||||
| #    define RGBLIGHT_HUE_STEP 8 | #    define RGBLIGHT_HUE_STEP 8 | ||||||
| #    define RGBLIGHT_SAT_STEP 8 | #    define RGBLIGHT_SAT_STEP 8 | ||||||
| #    define RGBLIGHT_VAL_STEP 8 | #    define RGBLIGHT_VAL_STEP 8 | ||||||
|  | |||||||
| @ -46,16 +46,14 @@ | |||||||
|     #define RGBLIGHT_VAL_STEP 8 |     #define RGBLIGHT_VAL_STEP 8 | ||||||
|     #define RGBLIGHT_LIMIT_VAL 100 /* The maximum brightness level */ |     #define RGBLIGHT_LIMIT_VAL 100 /* The maximum brightness level */ | ||||||
|     #define RGBLIGHT_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */ |     #define RGBLIGHT_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||||||
| /*== all animations enable ==*/ | #    define RGBLIGHT_EFFECT_BREATHING | ||||||
|     #define RGBLIGHT_ANIMATIONS | #    define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||||||
| // /*== or choose animations ==*/
 | #    define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||||||
| //     #define RGBLIGHT_EFFECT_BREATHING
 | #    define RGBLIGHT_EFFECT_SNAKE | ||||||
| //     #define RGBLIGHT_EFFECT_RAINBOW_MOOD
 | #    define RGBLIGHT_EFFECT_KNIGHT | ||||||
| //     #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
 | #    define RGBLIGHT_EFFECT_CHRISTMAS | ||||||
| //     #define RGBLIGHT_EFFECT_SNAKE
 | #    define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||||||
| //     #define RGBLIGHT_EFFECT_KNIGHT
 | #    define RGBLIGHT_EFFECT_RGB_TEST | ||||||
| //     #define RGBLIGHT_EFFECT_CHRISTMAS
 | #    define RGBLIGHT_EFFECT_ALTERNATING | ||||||
| //     #define RGBLIGHT_EFFECT_STATIC_GRADIENT
 | #    define RGBLIGHT_EFFECT_TWINKLE | ||||||
| //     #define RGBLIGHT_EFFECT_RGB_TEST
 |  | ||||||
| //     #define RGBLIGHT_EFFECT_ALTERNATING
 |  | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -30,7 +30,16 @@ | |||||||
| 
 | 
 | ||||||
| #define RGB_DI_PIN F4 | #define RGB_DI_PIN F4 | ||||||
| #ifdef RGB_DI_PIN | #ifdef RGB_DI_PIN | ||||||
| #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 | ||||||
| #define RGBLED_NUM 5 | #define RGBLED_NUM 5 | ||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
|  | |||||||
| @ -48,7 +48,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| #define RGBLED_NUM 68 | #define RGBLED_NUM 68 | ||||||
| #define RGBLIGHT_LIMIT_VAL 200 | #define RGBLIGHT_LIMIT_VAL 200 | ||||||
| #define RGBLIGHT_SLEEP | #define RGBLIGHT_SLEEP | ||||||
| #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 | ||||||
| 
 | 
 | ||||||
| /*
 | /*
 | ||||||
|  * Feature disable options |  * Feature disable options | ||||||
|  | |||||||
| @ -28,7 +28,17 @@ | |||||||
| #define DIODE_DIRECTION ROW2COL | #define DIODE_DIRECTION ROW2COL | ||||||
| 
 | 
 | ||||||
| #define RGBLED_NUM 7 | #define RGBLED_NUM 7 | ||||||
| #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 | ||||||
|  | 
 | ||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
| #define RGBLIGHT_VAL_STEP 8 | #define RGBLIGHT_VAL_STEP 8 | ||||||
|  | |||||||
| @ -55,7 +55,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #define RGB_DI_PIN D3 | #define RGB_DI_PIN D3 | ||||||
| #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 | ||||||
| #define RGBLED_NUM 4     // Number of LEDs
 | #define RGBLED_NUM 4     // Number of LEDs
 | ||||||
| #define RGBLIGHT_HUE_STEP 10 | #define RGBLIGHT_HUE_STEP 10 | ||||||
| #define RGBLIGHT_SAT_STEP 17 | #define RGBLIGHT_SAT_STEP 17 | ||||||
|  | |||||||
| @ -54,18 +54,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| #    define RGBLIGHT_VAL_STEP 17 | #    define RGBLIGHT_VAL_STEP 17 | ||||||
| //#    define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //#    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_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */
 | ||||||
| /*== all animations enable ==*/ | #    define RGBLIGHT_EFFECT_BREATHING | ||||||
| #    define RGBLIGHT_ANIMATIONS | #    define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||||||
| /*== or choose animations ==*/ | #    define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||||||
| //#    define RGBLIGHT_EFFECT_BREATHING
 | #    define RGBLIGHT_EFFECT_SNAKE | ||||||
| //#    define RGBLIGHT_EFFECT_RAINBOW_MOOD
 | #    define RGBLIGHT_EFFECT_KNIGHT | ||||||
| //#    define RGBLIGHT_EFFECT_RAINBOW_SWIRL
 | #    define RGBLIGHT_EFFECT_CHRISTMAS | ||||||
| //#    define RGBLIGHT_EFFECT_SNAKE
 | #    define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||||||
| //#    define RGBLIGHT_EFFECT_KNIGHT
 | #    define RGBLIGHT_EFFECT_RGB_TEST | ||||||
| //#    define RGBLIGHT_EFFECT_CHRISTMAS
 | #    define RGBLIGHT_EFFECT_ALTERNATING | ||||||
| //#    define RGBLIGHT_EFFECT_STATIC_GRADIENT
 | #    define RGBLIGHT_EFFECT_TWINKLE | ||||||
| //#    define RGBLIGHT_EFFECT_RGB_TEST
 |  | ||||||
| //#    define RGBLIGHT_EFFECT_ALTERNATING
 |  | ||||||
| /*== customize breathing effect ==*/ | /*== customize breathing effect ==*/ | ||||||
| /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||||||
| //#    define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | //#    define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | ||||||
|  | |||||||
| @ -49,18 +49,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| //#    define RGBLIGHT_VAL_STEP 8
 | //#    define RGBLIGHT_VAL_STEP 8
 | ||||||
| //#    define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //#    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_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */
 | ||||||
| /*== all animations enable ==*/ | #    define RGBLIGHT_EFFECT_BREATHING | ||||||
| #    define RGBLIGHT_ANIMATIONS | #    define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||||||
| /*== or choose animations ==*/ | #    define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||||||
| //#    define RGBLIGHT_EFFECT_BREATHING
 | #    define RGBLIGHT_EFFECT_SNAKE | ||||||
| //#    define RGBLIGHT_EFFECT_RAINBOW_MOOD
 | #    define RGBLIGHT_EFFECT_KNIGHT | ||||||
| //#    define RGBLIGHT_EFFECT_RAINBOW_SWIRL
 | #    define RGBLIGHT_EFFECT_CHRISTMAS | ||||||
| //#    define RGBLIGHT_EFFECT_SNAKE
 | #    define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||||||
| //#    define RGBLIGHT_EFFECT_KNIGHT
 | #    define RGBLIGHT_EFFECT_RGB_TEST | ||||||
| //#    define RGBLIGHT_EFFECT_CHRISTMAS
 | #    define RGBLIGHT_EFFECT_ALTERNATING | ||||||
| //#    define RGBLIGHT_EFFECT_STATIC_GRADIENT
 | #    define RGBLIGHT_EFFECT_TWINKLE | ||||||
| //#    define RGBLIGHT_EFFECT_RGB_TEST
 |  | ||||||
| //#    define RGBLIGHT_EFFECT_ALTERNATING
 |  | ||||||
| /*== customize breathing effect ==*/ | /*== customize breathing effect ==*/ | ||||||
| /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||||||
| //#    define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | //#    define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | ||||||
|  | |||||||
| @ -55,7 +55,17 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #define RGB_DI_PIN E2 | #define RGB_DI_PIN E2 | ||||||
| #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 | ||||||
|  | 
 | ||||||
| #define RGBLED_NUM 8     // Number of LEDs
 | #define RGBLED_NUM 8     // Number of LEDs
 | ||||||
| #define RGBLIGHT_HUE_STEP 10 | #define RGBLIGHT_HUE_STEP 10 | ||||||
| #define RGBLIGHT_SAT_STEP 17 | #define RGBLIGHT_SAT_STEP 17 | ||||||
|  | |||||||
| @ -48,12 +48,21 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| /* ws2812B RGB LED */ | /* ws2812B RGB LED */ | ||||||
| #ifdef RGBLIGHT_ENABLE | #ifdef RGBLIGHT_ENABLE | ||||||
| #   define RGB_DI_PIN F4 | #   define RGB_DI_PIN F4 | ||||||
| #   define RGBLIGHT_ANIMATIONS | #    define RGBLIGHT_EFFECT_BREATHING | ||||||
| #   define RGBLED_NUM 4 | #    define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||||||
| #   define RGBLIGHT_HUE_STEP 10 | #    define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||||||
| #   define RGBLIGHT_SAT_STEP 17 | #    define RGBLIGHT_EFFECT_SNAKE | ||||||
| #   define RGBLIGHT_VAL_STEP 17 | #    define RGBLIGHT_EFFECT_KNIGHT | ||||||
| #   define RGBLIGHT_LIMIT_VAL 255 | #    define RGBLIGHT_EFFECT_CHRISTMAS | ||||||
|  | #    define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||||||
|  | #    define RGBLIGHT_EFFECT_RGB_TEST | ||||||
|  | #    define RGBLIGHT_EFFECT_ALTERNATING | ||||||
|  | #    define RGBLIGHT_EFFECT_TWINKLE | ||||||
|  | #    define RGBLED_NUM 4 | ||||||
|  | #    define RGBLIGHT_HUE_STEP 10 | ||||||
|  | #    define RGBLIGHT_SAT_STEP 17 | ||||||
|  | #    define RGBLIGHT_VAL_STEP 17 | ||||||
|  | #    define RGBLIGHT_LIMIT_VAL 255 | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #ifdef OLED_ENABLE | #ifdef OLED_ENABLE | ||||||
|  | |||||||
| @ -16,8 +16,9 @@ | |||||||
| 
 | 
 | ||||||
| #pragma once | #pragma once | ||||||
| 
 | 
 | ||||||
| #undef RGBLIGHT_ANIMATIONS | #undef RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||||||
| #define RGBLIGHT_EFFECT_BREATHING | #undef RGBLIGHT_EFFECT_KNIGHT | ||||||
| #define RGBLIGHT_EFFECT_CHRISTMAS | #undef RGBLIGHT_EFFECT_STATIC_GRADIENT | ||||||
| #define RGBLIGHT_EFFECT_RAINBOW_MOOD | #undef RGBLIGHT_EFFECT_RGB_TEST | ||||||
| #define RGBLIGHT_EFFECT_SNAKE | #undef RGBLIGHT_EFFECT_ALTERNATING | ||||||
|  | #undef RGBLIGHT_EFFECT_TWINKLE | ||||||
|  | |||||||
| @ -39,10 +39,19 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| 
 | 
 | ||||||
| #define RGB_DI_PIN E6 | #define RGB_DI_PIN E6 | ||||||
| #ifdef RGB_DI_PIN | #ifdef RGB_DI_PIN | ||||||
|     #define RGBLIGHT_ANIMATIONS | #    define RGBLIGHT_EFFECT_BREATHING | ||||||
|     #define RGBLED_NUM 88 | #    define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||||||
|     #define RGBLIGHT_HUE_STEP 8 | #    define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||||||
|     #define RGBLIGHT_SAT_STEP 8 | #    define RGBLIGHT_EFFECT_SNAKE | ||||||
|     #define RGBLIGHT_VAL_STEP 8 | #    define RGBLIGHT_EFFECT_KNIGHT | ||||||
|     #define RGBLIGHT_LIMIT_VAL 50 | #    define RGBLIGHT_EFFECT_CHRISTMAS | ||||||
|  | #    define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||||||
|  | #    define RGBLIGHT_EFFECT_RGB_TEST | ||||||
|  | #    define RGBLIGHT_EFFECT_ALTERNATING | ||||||
|  | #    define RGBLIGHT_EFFECT_TWINKLE | ||||||
|  | #    define RGBLED_NUM 88 | ||||||
|  | #    define RGBLIGHT_HUE_STEP 8 | ||||||
|  | #    define RGBLIGHT_SAT_STEP 8 | ||||||
|  | #    define RGBLIGHT_VAL_STEP 8 | ||||||
|  | #    define RGBLIGHT_LIMIT_VAL 50 | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -31,7 +31,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| /* ws2812 RGB LED */ | /* ws2812 RGB LED */ | ||||||
| //#define RGB_DI_PIN X
 | //#define RGB_DI_PIN X
 | ||||||
| 
 | 
 | ||||||
| //#define RGBLIGHT_ANIMATIONS
 |  | ||||||
| //#define RGBLED_NUM X    // Number of LEDs
 | //#define RGBLED_NUM X    // Number of LEDs
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -32,7 +32,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| #define TAPPING_TERM 170 | #define TAPPING_TERM 170 | ||||||
| 
 | 
 | ||||||
| #undef RGBLED_NUM | #undef RGBLED_NUM | ||||||
| #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 | ||||||
| #define RGBLED_NUM 50 | #define RGBLED_NUM 50 | ||||||
| #define RGBLIGHT_LIMIT_VAL 120 | #define RGBLIGHT_LIMIT_VAL 120 | ||||||
| #define RGBLIGHT_HUE_STEP 10 | #define RGBLIGHT_HUE_STEP 10 | ||||||
|  | |||||||
| @ -35,7 +35,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| #define BACKLIGHT_PIN D4 | #define BACKLIGHT_PIN D4 | ||||||
| #define BACKLIGHT_LEVELS 3 | #define BACKLIGHT_LEVELS 3 | ||||||
| 
 | 
 | ||||||
| #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 | ||||||
| 
 | 
 | ||||||
| /* Bootmagic Lite key configuration */ | /* Bootmagic Lite key configuration */ | ||||||
| #define BOOTMAGIC_LITE_ROW 4 | #define BOOTMAGIC_LITE_ROW 4 | ||||||
|  | |||||||
| @ -51,18 +51,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| //   #define RGBLIGHT_VAL_STEP 8
 | //   #define RGBLIGHT_VAL_STEP 8
 | ||||||
| //   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //   #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_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
 |  | ||||||
| // #endif
 | // #endif
 | ||||||
| 
 | 
 | ||||||
| /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||||||
|  | |||||||
| @ -60,18 +60,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| //   #define RGBLIGHT_VAL_STEP 8
 | //   #define RGBLIGHT_VAL_STEP 8
 | ||||||
| //   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //   #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_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
 |  | ||||||
| // /*== customize breathing effect ==*/
 | // /*== customize breathing effect ==*/
 | ||||||
| //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | ||||||
| //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | ||||||
|  | |||||||
| @ -50,18 +50,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| //   #define RGBLIGHT_VAL_STEP 8
 | //   #define RGBLIGHT_VAL_STEP 8
 | ||||||
| //   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //   #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_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
 |  | ||||||
| // #endif
 | // #endif
 | ||||||
| 
 | 
 | ||||||
| /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||||||
|  | |||||||
| @ -51,18 +51,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
|   #define RGBLIGHT_VAL_STEP 8 |   #define RGBLIGHT_VAL_STEP 8 | ||||||
|   // #define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */
 |   // #define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */
 | ||||||
|   #define RGBLIGHT_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */ |   #define RGBLIGHT_SLEEP  /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||||||
| /*== all animations enable ==*/ | #    define RGBLIGHT_EFFECT_BREATHING | ||||||
|   #define RGBLIGHT_ANIMATIONS | #    define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||||||
| // /*== or choose animations ==*/
 | #    define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||||||
| //   #define RGBLIGHT_EFFECT_BREATHING
 | #    define RGBLIGHT_EFFECT_SNAKE | ||||||
| //   #define RGBLIGHT_EFFECT_RAINBOW_MOOD
 | #    define RGBLIGHT_EFFECT_KNIGHT | ||||||
| //   #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
 | #    define RGBLIGHT_EFFECT_CHRISTMAS | ||||||
| //   #define RGBLIGHT_EFFECT_SNAKE
 | #    define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||||||
| //   #define RGBLIGHT_EFFECT_KNIGHT
 | #    define RGBLIGHT_EFFECT_RGB_TEST | ||||||
| //   #define RGBLIGHT_EFFECT_CHRISTMAS
 | #    define RGBLIGHT_EFFECT_ALTERNATING | ||||||
| //   #define RGBLIGHT_EFFECT_STATIC_GRADIENT
 | #    define RGBLIGHT_EFFECT_TWINKLE | ||||||
| //   #define RGBLIGHT_EFFECT_RGB_TEST
 |  | ||||||
| //   #define RGBLIGHT_EFFECT_ALTERNATING
 |  | ||||||
| // /*== customize breathing effect ==*/
 | // /*== customize breathing effect ==*/
 | ||||||
| //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | ||||||
| //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | ||||||
|  | |||||||
| @ -48,8 +48,6 @@ | |||||||
| //#    define RGBLIGHT_VAL_STEP 8
 | //#    define RGBLIGHT_VAL_STEP 8
 | ||||||
| //#    define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //#    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_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 ==*/ | /*== or choose animations ==*/ | ||||||
| #define RGBLIGHT_EFFECT_BREATHING | #define RGBLIGHT_EFFECT_BREATHING | ||||||
| #define RGBLIGHT_EFFECT_RAINBOW_MOOD | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||||||
|  | |||||||
| @ -45,7 +45,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| /* Backlight configuration
 | /* Backlight configuration
 | ||||||
|  */ |  */ | ||||||
| #define RGB_DI_PIN B0 | #define RGB_DI_PIN B0 | ||||||
| #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 | ||||||
| #define RGBLED_NUM 9 | #define RGBLED_NUM 9 | ||||||
| 
 | 
 | ||||||
| #define QMK_ESC_OUTPUT D0 // usually COL
 | #define QMK_ESC_OUTPUT D0 // usually COL
 | ||||||
|  | |||||||
| @ -45,7 +45,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| 
 | 
 | ||||||
| // #define RGB_DI_PIN E2
 | // #define RGB_DI_PIN E2
 | ||||||
| // #ifdef RGB_DI_PIN
 | // #ifdef RGB_DI_PIN
 | ||||||
| // #define RGBLIGHT_ANIMATIONS
 |  | ||||||
| // #define RGBLED_NUM 16
 | // #define RGBLED_NUM 16
 | ||||||
| // #define RGBLIGHT_HUE_STEP 8
 | // #define RGBLIGHT_HUE_STEP 8
 | ||||||
| // #define RGBLIGHT_SAT_STEP 8
 | // #define RGBLIGHT_SAT_STEP 8
 | ||||||
|  | |||||||
| @ -68,18 +68,6 @@ | |||||||
| //#    define RGBLIGHT_VAL_STEP 8
 | //#    define RGBLIGHT_VAL_STEP 8
 | ||||||
| //#    define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //#    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_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
 |  | ||||||
| /*== customize breathing effect ==*/ | /*== customize breathing effect ==*/ | ||||||
| /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||||||
| //#    define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | //#    define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | ||||||
|  | |||||||
| @ -41,7 +41,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| 
 | 
 | ||||||
| #define RGB_DI_PIN E6 | #define RGB_DI_PIN E6 | ||||||
| #define RGBLED_NUM 15 | #define RGBLED_NUM 15 | ||||||
| #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 | ||||||
| #define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 5 } | #define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 5 } | ||||||
| 
 | 
 | ||||||
| #define LED_CAPS_LOCK_PIN B2 | #define LED_CAPS_LOCK_PIN B2 | ||||||
|  | |||||||
| @ -51,7 +51,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| #define RGBLIGHT_HUE_STEP 10 | #define RGBLIGHT_HUE_STEP 10 | ||||||
| #define RGBLIGHT_SAT_STEP 17 | #define RGBLIGHT_SAT_STEP 17 | ||||||
| #define RGBLIGHT_VAL_STEP 17 | #define RGBLIGHT_VAL_STEP 17 | ||||||
| #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 | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #define OLED_FONT_H "keyboards/basekeys/slice/slice_font.c" | #define OLED_FONT_H "keyboards/basekeys/slice/slice_font.c" | ||||||
|  | |||||||
| @ -45,7 +45,16 @@ | |||||||
| #define RGBLIGHT_HUE_STEP 10 | #define RGBLIGHT_HUE_STEP 10 | ||||||
| #define RGBLIGHT_SAT_STEP 17 | #define RGBLIGHT_SAT_STEP 17 | ||||||
| #define RGBLIGHT_VAL_STEP 17 | #define RGBLIGHT_VAL_STEP 17 | ||||||
| #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 | ||||||
| #endif | #endif | ||||||
| /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||||||
| #define DEBOUNCE 5 | #define DEBOUNCE 5 | ||||||
|  | |||||||
| @ -1,4 +1,4 @@ | |||||||
| /* 
 | /*
 | ||||||
|  * Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com> |  * Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com> | ||||||
|  * |  * | ||||||
|  * This program is free software: you can redistribute it and/or modify |  * This program is free software: you can redistribute it and/or modify | ||||||
| @ -28,7 +28,16 @@ | |||||||
| #define RGBLED_NUM 38 | #define RGBLED_NUM 38 | ||||||
| #define RGBLED_SPLIT { 19, 19 } | #define RGBLED_SPLIT { 19, 19 } | ||||||
| #define RGBLIGHT_SPLIT | #define RGBLIGHT_SPLIT | ||||||
| #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 | ||||||
| #define DEBOUNCE 5 | #define DEBOUNCE 5 | ||||||
| #define SOFT_SERIAL_PIN D0 | #define SOFT_SERIAL_PIN D0 | ||||||
| #define MASTER_RIGHT | #define MASTER_RIGHT | ||||||
|  | |||||||
| @ -35,4 +35,13 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| #define BACKLIGHT_PIN D4 | #define BACKLIGHT_PIN D4 | ||||||
| #define BACKLIGHT_LEVELS 3 | #define BACKLIGHT_LEVELS 3 | ||||||
| 
 | 
 | ||||||
| #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 | ||||||
|  | |||||||
| @ -29,6 +29,14 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| // Underglow
 | // Underglow
 | ||||||
| #undef RGBLED_NUM | #undef RGBLED_NUM | ||||||
| #define RGBLED_NUM 14    // Number of LEDs
 | #define RGBLED_NUM 14    // Number of LEDs
 | ||||||
| #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 | ||||||
| #define RGBLIGHT_SLEEP | #define RGBLIGHT_SLEEP | ||||||
| 
 |  | ||||||
|  | |||||||
| @ -29,6 +29,14 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| // Underglow
 | // Underglow
 | ||||||
| #undef RGBLED_NUM | #undef RGBLED_NUM | ||||||
| #define RGBLED_NUM 14    // Number of LEDs
 | #define RGBLED_NUM 14    // Number of LEDs
 | ||||||
| #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 | ||||||
| #define RGBLIGHT_SLEEP | #define RGBLIGHT_SLEEP | ||||||
| 
 |  | ||||||
|  | |||||||
| @ -29,10 +29,18 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| /* Use RGB Underglow */ | /* Use RGB Underglow */ | ||||||
| 
 | 
 | ||||||
| #undef RGBLED_NUM | #undef RGBLED_NUM | ||||||
| #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 | ||||||
| #define RGBLIGHT_SLEEP | #define RGBLIGHT_SLEEP | ||||||
| #define RGBLED_NUM 14 | #define RGBLED_NUM 14 | ||||||
| #define RGBLIGHT_HUE_STEP 10 | #define RGBLIGHT_HUE_STEP 10 | ||||||
| #define RGBLIGHT_SAT_STEP 17 | #define RGBLIGHT_SAT_STEP 17 | ||||||
| #define RGBLIGHT_VAL_STEP 17 | #define RGBLIGHT_VAL_STEP 17 | ||||||
| 
 |  | ||||||
|  | |||||||
| @ -56,18 +56,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| //   #define RGBLIGHT_VAL_STEP 8
 | //   #define RGBLIGHT_VAL_STEP 8
 | ||||||
| //   #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //   #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_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
 |  | ||||||
| // /*== customize breathing effect ==*/
 | // /*== customize breathing effect ==*/
 | ||||||
| //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | //   /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
 | ||||||
| //   #define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | //   #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/>. | |||||||
| 
 | 
 | ||||||
| /* RGB Underglow */ | /* RGB Underglow */ | ||||||
| #define RGB_DI_PIN B1 | #define RGB_DI_PIN B1 | ||||||
| #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 | ||||||
| #define RGBLED_NUM 8  // Number of LEDs
 | #define RGBLED_NUM 8  // Number of LEDs
 | ||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
|  | |||||||
| @ -31,7 +31,16 @@ | |||||||
| #define LOCKING_RESYNC_ENABLE | #define LOCKING_RESYNC_ENABLE | ||||||
| 
 | 
 | ||||||
| #define RGB_DI_PIN B1 | #define RGB_DI_PIN B1 | ||||||
| #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 | ||||||
| #define RGBLED_NUM 36 | #define RGBLED_NUM 36 | ||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
|  | |||||||
| @ -377,7 +377,7 @@ int main(void) | |||||||
|         raw_hid_task(); |         raw_hid_task(); | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #if defined(RGBLIGHT_ANIMATIONS) && defined(RGBLIGHT_ENABLE) | #if defined(RGBLIGHT_ENABLE) | ||||||
|         rgblight_task(); |         rgblight_task(); | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -49,7 +49,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||||||
| 
 | 
 | ||||||
| /* RGB Underglow */ | /* RGB Underglow */ | ||||||
| #define RGB_DI_PIN B1 | #define RGB_DI_PIN B1 | ||||||
| #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 | ||||||
| #define RGBLED_NUM 8  // Number of LEDs
 | #define RGBLED_NUM 8  // Number of LEDs
 | ||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
|  | |||||||
| @ -50,7 +50,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||||||
| 
 | 
 | ||||||
| /* RGB Underglow */ | /* RGB Underglow */ | ||||||
| #define RGB_DI_PIN D3 | #define RGB_DI_PIN D3 | ||||||
| #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 | ||||||
| #define RGBLED_NUM 8 | #define RGBLED_NUM 8 | ||||||
| #define RGBLIGHT_HUE_STEP 8 | #define RGBLIGHT_HUE_STEP 8 | ||||||
| #define RGBLIGHT_SAT_STEP 8 | #define RGBLIGHT_SAT_STEP 8 | ||||||
|  | |||||||
| @ -24,7 +24,16 @@ | |||||||
| 
 | 
 | ||||||
| /* ws2812 RGB LED */ | /* ws2812 RGB LED */ | ||||||
| #define RGB_DI_PIN C7 | #define RGB_DI_PIN C7 | ||||||
| #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 | ||||||
| #define RGBLED_NUM 16    // Number of LEDs
 | #define RGBLED_NUM 16    // Number of LEDs
 | ||||||
| #define RGBLIGHT_HUE_STEP 10 | #define RGBLIGHT_HUE_STEP 10 | ||||||
| #define RGBLIGHT_SAT_STEP 10 | #define RGBLIGHT_SAT_STEP 10 | ||||||
|  | |||||||
| @ -62,18 +62,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| //#    define RGBLIGHT_VAL_STEP 8
 | //#    define RGBLIGHT_VAL_STEP 8
 | ||||||
| //#    define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
 | //#    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_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
 |  | ||||||
| /*== customize breathing effect ==*/ | /*== customize breathing effect ==*/ | ||||||
| /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||||||
| //#    define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | //#    define RGBLIGHT_BREATHE_TABLE_SIZE 256      // 256(default) or 128 or 64
 | ||||||
|  | |||||||
| @ -46,7 +46,16 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. | |||||||
| #define RGBLIGHT_HUE_STEP 10 | #define RGBLIGHT_HUE_STEP 10 | ||||||
| #define RGBLIGHT_SAT_STEP 17 | #define RGBLIGHT_SAT_STEP 17 | ||||||
| 
 | 
 | ||||||
| #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 | ||||||
| 
 | 
 | ||||||
| /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||||||
| #define DEBOUNCE 5 | #define DEBOUNCE 5 | ||||||
|  | |||||||
Some files were not shown because too many files have changed in this diff Show More
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user