aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/encoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/encoder.h')
-rw-r--r--quantum/encoder.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/quantum/encoder.h b/quantum/encoder.h
index 2024fa303..ec09a8cc4 100644
--- a/quantum/encoder.h
+++ b/quantum/encoder.h
@@ -19,11 +19,13 @@
#include "quantum.h"
-#define COUNTRECLOCKWISE 0
-#define CLOCKWISE 1
-
void encoder_init(void);
void encoder_read(void);
void encoder_update_kb(int8_t index, bool clockwise);
void encoder_update_user(int8_t index, bool clockwise);
+
+#ifdef SPLIT_KEYBOARD
+void encoder_state_raw(uint8_t* slave_state);
+void encoder_update_raw(uint8_t* slave_state);
+#endif