~sungo/qmk_userspace

69f23ab243a8e77d7d91cbc1fe1a528b0ecc82ac — sungo 7 months ago 81791b3
fix the leds on the corne
3 files changed, 19 insertions(+), 7 deletions(-)

A boards/crkbd.c
M config/crkbd.h
M rules.mk
A boards/crkbd.c => boards/crkbd.c +10 -0
@@ 0,0 1,10 @@
#include QMK_KEYBOARD_H

#ifdef RGB_MATRIX_ENABLE
void keyboard_post_init_user(void) {
	rgb_matrix_enable();
	rgb_matrix_sethsv(DIM_HSV_AZURE);
	rgb_matrix_mode(RGB_MATRIX_DEFAULT_MODE);
}
#endif


M config/crkbd.h => config/crkbd.h +7 -6
@@ 1,13 1,14 @@
#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

#undef RGB_MATRIX_STARTUP_SPD
#define RGB_MATRIX_STARTUP_SPD 255
#define RGB_MATRIX_DEFAULT_HUE 132
#define RGB_MATRIX_DEFAULT_SAT 102
#define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS

#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_REACTIVE_SIMPLE
#undef RGB_MATRIX_DEFAULT_SPD
#define RGB_MATRIX_DEFAULT_SPD 255

#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_REACTIVE_SIMPLE
#endif


M rules.mk => rules.mk +2 -1
@@ 1,4 1,4 @@
CFLAGS+= --param=min-pagesize=0
#CFLAGS+= --param=min-pagesize=0

AUDIO_ENABLE = no
COMMAND_ENABLE = no


@@ 38,6 38,7 @@ endif
ifeq ($(KEYBOARD), crkbd/rev1)
	SPLIT_KEYBOARD = yes
	RGB_MATRIX_ENABLE = no
	SRC += boards/crkbd.c
endif

ifeq ($(KEYBOARD), keebio/iris/rev4)