aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/planck/planck.h
diff options
context:
space:
mode:
authorGravatar Jack Humbert <jack.humb@gmail.com>2019-04-08 19:57:43 -0400
committerGravatar Drashna Jaelre <drashna@live.com>2019-04-08 16:57:43 -0700
commitfa4052c26e33b42b65521fd5ba9f94a3a778b275 (patch)
treeb16d69187656b109d98710359c9044edc716aaa2 /keyboards/planck/planck.h
parentbc536b9b6d98e5428a28f6e6ba69675bd77b79cc (diff)
downloadqmk_firmware-fa4052c26e33b42b65521fd5ba9f94a3a778b275.tar.gz
Adds the Planck EZ, 3737 RGB, fixes out-of-tune notes (#5532)
* RGB Matrix overhaul Breakout of animations to separate files Integration of optimized int based math lib Overhaul of rgb_matrix.c and animations for performance * Updating effect function api for future extensions * Combined the keypresses || keyreleases define checks into a single define so I stop forgetting it where necessary * Moving define RGB_MATRIX_KEYREACTIVE_ENABLED earlier in the include chain * Adds the Planck EZ, 3737 RGB, fixes out-of-tune notes * fix bug in quantum/rgb_matrix_drivers.c Co-Authored-By: jackhumbert <jack.humb@gmail.com> * update command setting to the correct default * correct rgb config * remove commented-out lines * update docs for the 3737 * Update docs/feature_rgb_matrix.md Co-Authored-By: jackhumbert <jack.humb@gmail.com>
Diffstat (limited to 'keyboards/planck/planck.h')
-rw-r--r--keyboards/planck/planck.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/keyboards/planck/planck.h b/keyboards/planck/planck.h
index d908d80ec..4bc5e9c3f 100644
--- a/keyboards/planck/planck.h
+++ b/keyboards/planck/planck.h
@@ -5,6 +5,10 @@
#define encoder_update(clockwise) encoder_update_user(uint8_t index, clockwise)
+#ifdef KEYBOARD_planck_ez
+ #include "ez.h"
+#endif
+
#ifdef __AVR__
#define LAYOUT_planck_mit( \
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \
@@ -50,7 +54,7 @@
#define LAYOUT_ortho_4x12 LAYOUT_planck_grid
#define KC_LAYOUT_ortho_4x12 KC_KEYMAP
-#else
+#elif KEYBOARD_planck_rev6
#define LAYOUT_planck_1x2uC( \
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \