~sungo/qmk_userspace

b417f40dfa6238c28362f7e5a6a9aa0bbcf7e460 — sungo 6 months ago 77b4a2a
split the config header for the corne into its own file
2 files changed, 21 insertions(+), 21 deletions(-)

M config.h
A config/crkbd.h
M config.h => config.h +5 -21
@@ 19,6 19,10 @@

#define DIM_HSV_AZURE 132, 102, 50

#ifdef RGB_MATRIX_ENABLE
#define RGB_DISABLE_WHEN_USB_SUSPENDED
#endif

#if defined(KEYBOARD_reviung41) || defined(KEYBOARD_reviung39)

#define RGBLIGHT_LAYERS


@@ 47,26 51,7 @@
#endif

#ifdef KEYBOARD_crkbd
#define MASTER_LEFT
#ifdef RGB_MATRIX_ENABLE
#define RGB_MATRIX_STARTUP_HUE 132
#define RGB_MATRIX_STARTUP_SAT 102
#define RGB_MATRIX_STARTUP_VAL 25

#undef RGB_MATRIX_STARTUP_SPD
#define RGB_MATRIX_STARTUP_SPD 25

#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 100
#define RGB_MATRIX_HUE_STEP           1
#define RGB_MATRIX_SAT_STEP           1
#define RGB_MATRIX_VAL_STEP           1
#define RGB_MATRIX_SPD_STEP           1

#define ENABLE_RGB_MATRIX_RAINDROPS
#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS

#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_JELLYBEAN_RAINDROPS
#endif
#include "config/crkbd.h"
#endif

#ifdef KEYBOARD_keebio_iris


@@ 88,7 73,6 @@
#ifdef KEYBOARD_keebio_foldkb
#ifdef RGBLIGHT_ENABLE
#define RGBLIGHT
#define RGB_DISABLE_WHEN_USB_SUSPENDED

#undef RGBLIGHT_DEFAULT_MODE
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_LIGHT

A config/crkbd.h => config/crkbd.h +16 -0
@@ 0,0 1,16 @@
#define MASTER_LEFT

#ifdef RGB_MATRIX_ENABLE
#define RGB_MATRIX_STARTUP_HUE 132
#define RGB_MATRIX_STARTUP_SAT 102
#define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS

#define RGB_MATRIX_KEYPRESSES
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS

#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE

#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_REACTIVE_SIMPLE
#endif