summaryrefslogtreecommitdiffstats
path: root/keyboards/1upkeyboards/sweet16/v2/promicro/promicro.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/1upkeyboards/sweet16/v2/promicro/promicro.c')
-rw-r--r--keyboards/1upkeyboards/sweet16/v2/promicro/promicro.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/1upkeyboards/sweet16/v2/promicro/promicro.c b/keyboards/1upkeyboards/sweet16/v2/promicro/promicro.c
new file mode 100644
index 0000000000..0176dc1a3c
--- /dev/null
+++ b/keyboards/1upkeyboards/sweet16/v2/promicro/promicro.c
@@ -0,0 +1,8 @@
+#include "promicro.h"
+#include "encoder.h"
+
+#ifdef ENCODER_ENABLED
+void encoder_update_kb(int8_t index, bool clockwise) {
+ encoder_update_user(index, clockwise);
+}
+#endif