~sungo/qmk_userspace

05cdf978a4fe72964777416f4d4506251988ada9 — sungo 8 months ago d6bf041
LED fixes for the quefrency

I really wish keebio would stop overwriting the default color constants
5 files changed, 37 insertions(+), 0 deletions(-)

A Makefile
A boards/quefrency.c
M config.h
A config/quefrency.h
M rules.mk
A Makefile => Makefile +8 -0
@@ 0,0 1,8 @@
all: clean build

build:
	find keymaps -iname \*.json -print0 | xargs -0 -n 1 qmk compile

clean:
	qmk clean


A boards/quefrency.c => boards/quefrency.c +10 -0
@@ 0,0 1,10 @@
#include QMK_KEYBOARD_H

#ifdef RGBLIGHT_ENABLE

void keyboard_post_init_user(void) {
	rgblight_enable();
	rgblight_sethsv(HSV_WHITE);
}

#endif

M config.h => config.h +4 -0
@@ 43,3 43,7 @@
#ifdef KEYBOARD_keebio_foldkb
#include "config/foldkb.h"
#endif

#ifdef KEYBOARD_keebio_quefrency
#include "config/quefrency.h"
#endif

A config/quefrency.h => config/quefrency.h +8 -0
@@ 0,0 1,8 @@
#ifdef RGBLIGHT_ENABLE
#define RGBLIGHT

#undef RGBLIGHT_DEFAULT_MODE
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_LIGHT
#endif



M rules.mk => rules.mk +7 -0
@@ 50,3 50,10 @@ endif
ifeq ($(KEYBOARD), keebio/foldkb/rev1)
	RGBLIGHT_ENABLE = yes
endif

ifeq ($(KEYBOARD), keebio/quefrency/rev4)
	RGBLIGHT_ENABLE = yes
	SRC += boards/quefrency.c
endif