mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-17 23:23:21 +00:00
fa740c1286
* add * ADD * update * update * update * update * Update rgb_led.c * Update rgb_led.c
34 lines
995 B
C
34 lines
995 B
C
|
|
#pragma once
|
|
|
|
#define PRODUCT_ID 0xDEF1
|
|
#define DEVICE_VER 0x0001
|
|
|
|
|
|
#ifdef BACKLIGHT_ENABLE
|
|
#define BACKLIGHT_PIN B6
|
|
// #define BACKLIGHT_BREATHING
|
|
#define BACKLIGHT_LEVELS 3
|
|
#endif
|
|
|
|
#ifdef RGBLIGHT_ENABLE
|
|
#define RGB_DI_PIN E2
|
|
#define RGBLED_NUM 13
|
|
#define RGBLIGHT_HUE_STEP 8
|
|
#define RGBLIGHT_SAT_STEP 8
|
|
#define RGBLIGHT_VAL_STEP 8
|
|
#define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
|
|
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
|
|
/*== 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 |