diff options
author | Ethan Madden <crazeh.monkeh@gmail.com> | 2017-06-25 18:30:40 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-06-25 21:30:40 -0400 |
commit | 42e6ecc36b65ad0f0d29c6c35c93b95078c11a1a (patch) | |
tree | dbaf2d2f0a3ea05cedd0c30310c3533225cdc27b /keyboards/whitefox/config.h | |
parent | 43579a80a7bba63ddf2b3eceb4d05a51727a7cbb (diff) |
Whitefox LED control (#1432)
* use new grave_esc functionality
* Port LED control from Ergodox Infinity to Whitefox
Diffstat (limited to 'keyboards/whitefox/config.h')
-rw-r--r-- | keyboards/whitefox/config.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/whitefox/config.h b/keyboards/whitefox/config.h index b7116341ff..08de9b9aa8 100644 --- a/keyboards/whitefox/config.h +++ b/keyboards/whitefox/config.h @@ -35,6 +35,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #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 <http://www.gnu.org/licenses/>. //#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) |