From 42e6ecc36b65ad0f0d29c6c35c93b95078c11a1a Mon Sep 17 00:00:00 2001 From: Ethan Madden Date: Sun, 25 Jun 2017 18:30:40 -0700 Subject: Whitefox LED control (#1432) * use new grave_esc functionality * Port LED control from Ergodox Infinity to Whitefox --- keyboards/whitefox/config.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'keyboards/whitefox/config.h') diff --git a/keyboards/whitefox/config.h b/keyboards/whitefox/config.h index b7116341f..08de9b9aa 100644 --- a/keyboards/whitefox/config.h +++ b/keyboards/whitefox/config.h @@ -35,6 +35,12 @@ along with this program. If not, see . #define MATRIX_ROWS 9 #define MATRIX_COLS 8 +/* number of backlight levels */ +#define BACKLIGHT_LEVELS 3 + +#define LED_BRIGHTNESS_LO 100 +#define LED_BRIGHTNESS_HI 255 + /* define if matrix has ghost */ //#define MATRIX_HAS_GHOST @@ -76,3 +82,11 @@ along with this program. If not, see . //#define NO_ACTION_FUNCTION #endif + +// The visualizer needs gfx thread priorities +#define LED_DISPLAY_NUMBER 0 + +#define LED_NUM_ROWS 5 +#define LED_NUM_COLS 16 + +#define VISUALIZER_THREAD_PRIORITY (NORMAL_PRIORITY - 2) -- cgit v1.2.3-24-g4f1b