30 lines
603 B
C
30 lines
603 B
C
#ifndef CONFIG_USER_H
|
|
#define CONFIG_USER_H
|
|
|
|
// Number of backlight levels
|
|
#undef BACKLIGHT_LEVELS
|
|
#define BACKLIGHT_LEVELS 8
|
|
|
|
/* ws2812 RGB LED */
|
|
#ifndef RGBLIGHT_ENABLE
|
|
#undef RGB_DI_PIN
|
|
#endif
|
|
#if defined(KEYBOARD_preonic_rev2)
|
|
#define RGB_DI_PIN B3
|
|
#undef RGBLED_NUM
|
|
#define RGBLIGHT_ANIMATIONS
|
|
#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
|
|
|
|
// for the split boards //
|
|
#define USE_SERIAL
|
|
#define EE_HANDS
|
|
|
|
#endif
|