2018-05-19 00:32:50 +02:00
|
|
|
#ifndef CONFIG_USER_H
|
|
|
|
#define CONFIG_USER_H
|
|
|
|
|
|
|
|
// Number of backlight levels
|
|
|
|
#undef BACKLIGHT_LEVELS
|
|
|
|
#define BACKLIGHT_LEVELS 8
|
|
|
|
|
|
|
|
/* ws2812 RGB LED */
|
2019-02-13 01:57:24 +01:00
|
|
|
#ifndef RGBLIGHT_ENABLE
|
2018-05-19 00:32:50 +02:00
|
|
|
#undef RGB_DI_PIN
|
2019-02-13 01:57:24 +01:00
|
|
|
#endif
|
2018-09-11 23:22:18 +02:00
|
|
|
#if defined(KEYBOARD_preonic_rev2)
|
|
|
|
#define RGB_DI_PIN B3
|
|
|
|
#undef RGBLED_NUM
|
2022-10-15 18:59:31 +02:00
|
|
|
#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
|
2018-09-11 23:22:18 +02:00
|
|
|
#define RGBLED_NUM 11 // Number of LEDs
|
|
|
|
#undef RGBLIGHT_HUE_STEP
|
|
|
|
#define RGBLIGHT_HUE_STEP 8
|
|
|
|
#undef RGBLIGHT_SAT_STEP
|
|
|
|
#define RGBLIGHT_SAT_STEP 8
|
|
|
|
#undef RGBLIGHT_VAL_STEP
|
|
|
|
#define RGBLIGHT_VAL_STEP 8
|
|
|
|
#endif
|
2018-05-19 00:32:50 +02:00
|
|
|
|
|
|
|
// for the split boards //
|
|
|
|
#define EE_HANDS
|
|
|
|
|
|
|
|
#endif
|