aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/planck/planck.h
diff options
context:
space:
mode:
authorGravatar Jack Humbert <jack.humb@gmail.com>2018-10-26 16:19:23 -0400
committerGravatar Drashna Jaelre <drashna@live.com>2018-10-26 14:24:13 -0700
commit85688e5b52112c86895171d3dc8b26610480e932 (patch)
tree03f3f7bf585ebdf158576aeb6a8cf0c8c5319d6f /keyboards/planck/planck.h
parente22c3992454ade93ccaef70ab077e79a4b2a5ef0 (diff)
downloadqmk_firmware-85688e5b52112c86895171d3dc8b26610480e932.tar.gz
add support for encoders to core
Diffstat (limited to 'keyboards/planck/planck.h')
-rw-r--r--keyboards/planck/planck.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/planck/planck.h b/keyboards/planck/planck.h
index f0a12d933..d908d80ec 100644
--- a/keyboards/planck/planck.h
+++ b/keyboards/planck/planck.h
@@ -3,6 +3,8 @@
#include "quantum.h"
+#define encoder_update(clockwise) encoder_update_user(uint8_t index, clockwise)
+
#ifdef __AVR__
#define LAYOUT_planck_mit( \
k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \