|
|
|
@ -158,26 +158,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
|
|
|
/*
|
|
|
|
|
* RGB Underglow |
|
|
|
|
* These settings are for the F4 by default: |
|
|
|
|
*
|
|
|
|
|
* |
|
|
|
|
* #define ws2812_PORTREG PORTF |
|
|
|
|
* #define ws2812_DDRREG DDRF |
|
|
|
|
* |
|
|
|
|
* #define ws2812_pin PF4 |
|
|
|
|
* #define RGBLED_NUM 14 // Number of LEDs
|
|
|
|
|
* #define RGBLIGHT_HUE_STEP 10 |
|
|
|
|
* #define RGBLIGHT_SAT_STEP 17 |
|
|
|
|
* #define RGBLIGHT_VAL_STEP 17 |
|
|
|
|
* |
|
|
|
|
* The firmware supports 5 different light effects, and the color (hue, saturation, brightness) can be customized in most effects.
|
|
|
|
|
* To control the underglow, you need to modify your keymap file to assign those functions to some keys/key combinations.
|
|
|
|
|
* The firmware supports 5 different light effects, and the color (hue, saturation, brightness) can be customized in most effects. |
|
|
|
|
* To control the underglow, you need to modify your keymap file to assign those functions to some keys/key combinations. |
|
|
|
|
* For details, please check this keymap. keyboard/planck/keymaps/yang/keymap.c |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
/* Deprecated code below
|
|
|
|
|
#define ws2812_PORTREG PORTF |
|
|
|
|
#define ws2812_DDRREG DDRF |
|
|
|
|
#define ws2812_pin PF4 |
|
|
|
|
*/
|
|
|
|
|
#define RGB_DI_PIN F4 |
|
|
|
|
#define RGBLIGHT_ANIMATIONS |
|
|
|
|
#define RGBLED_NUM 11 // Number of LEDs
|
|
|
|
|