From 63177760deaf23bb1f676974cecf211676285604 Mon Sep 17 00:00:00 2001 From: XScorpion2 Date: Wed, 3 Apr 2019 18:01:17 -0500 Subject: Added encoder support to split common code (#5477) * Added slave encoder support to split common * Fixing handwired/xealous/rev1 compile error * Removed unnecessary ifdef --- quantum/encoder.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'quantum/encoder.h') diff --git a/quantum/encoder.h b/quantum/encoder.h index 2024fa303f..ec09a8cc47 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 -- cgit v1.2.3