summaryrefslogtreecommitdiffstats
path: root/keyboards/whitefox/config.h
diff options
context:
space:
mode:
authorEthan Madden <crazeh.monkeh@gmail.com>2017-06-26 03:30:40 +0200
committerJack Humbert <jack.humb@gmail.com>2017-06-26 03:30:40 +0200
commit42e6ecc36b65ad0f0d29c6c35c93b95078c11a1a (patch)
treedbaf2d2f0a3ea05cedd0c30310c3533225cdc27b /keyboards/whitefox/config.h
parent43579a80a7bba63ddf2b3eceb4d05a51727a7cbb (diff)
downloadqmk_firmware-42e6ecc36b65ad0f0d29c6c35c93b95078c11a1a.tar.gz
qmk_firmware-42e6ecc36b65ad0f0d29c6c35c93b95078c11a1a.tar.xz
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.h14
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/>.
#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)