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) | |
| download | qmk_firmware-42e6ecc36b65ad0f0d29c6c35c93b95078c11a1a.tar.gz qmk_firmware-42e6ecc36b65ad0f0d29c6c35c93b95078c11a1a.zip | |
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 b7116341f..08de9b9aa 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/>. | |||
| 35 | #define MATRIX_ROWS 9 | 35 | #define MATRIX_ROWS 9 |
| 36 | #define MATRIX_COLS 8 | 36 | #define MATRIX_COLS 8 |
| 37 | 37 | ||
| 38 | /* number of backlight levels */ | ||
| 39 | #define BACKLIGHT_LEVELS 3 | ||
| 40 | |||
| 41 | #define LED_BRIGHTNESS_LO 100 | ||
| 42 | #define LED_BRIGHTNESS_HI 255 | ||
| 43 | |||
| 38 | /* define if matrix has ghost */ | 44 | /* define if matrix has ghost */ |
| 39 | //#define MATRIX_HAS_GHOST | 45 | //#define MATRIX_HAS_GHOST |
| 40 | 46 | ||
| @@ -76,3 +82,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 76 | //#define NO_ACTION_FUNCTION | 82 | //#define NO_ACTION_FUNCTION |
| 77 | 83 | ||
| 78 | #endif | 84 | #endif |
| 85 | |||
| 86 | // The visualizer needs gfx thread priorities | ||
| 87 | #define LED_DISPLAY_NUMBER 0 | ||
| 88 | |||
| 89 | #define LED_NUM_ROWS 5 | ||
| 90 | #define LED_NUM_COLS 16 | ||
| 91 | |||
| 92 | #define VISUALIZER_THREAD_PRIORITY (NORMAL_PRIORITY - 2) | ||
