diff options
author | Drashna Jaelre <drashna@live.com> | 2021-11-29 08:23:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-29 08:23:29 -0800 |
commit | 62e01928cd4d978d275eb28992866ddf0d39922f (patch) | |
tree | a516ac7d57d9f1845274ebcbbbb90c9ae33b4980 /keyboards/ploopyco/mouse/mouse.h | |
parent | 285afa3a8a2c3ae6ad4efffecdc96108f1b2fadc (diff) |
[Keyboard] Ploopy improvements (#15348)
Diffstat (limited to 'keyboards/ploopyco/mouse/mouse.h')
-rw-r--r-- | keyboards/ploopyco/mouse/mouse.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/keyboards/ploopyco/mouse/mouse.h b/keyboards/ploopyco/mouse/mouse.h index ee59827139..8383049aa5 100644 --- a/keyboards/ploopyco/mouse/mouse.h +++ b/keyboards/ploopyco/mouse/mouse.h @@ -28,16 +28,16 @@ #define OPT_ENC1_MUX 0 #define OPT_ENC2_MUX 4 -void process_wheel(report_mouse_t* mouse_report); +void process_wheel(void); #define LAYOUT(BLL, BL, BM, BR, BRR, BF, BB, BDPI) \ { {BL, BM, BR, BF, BB, BRR, BLL, BDPI}, } typedef union { - uint32_t raw; - struct { - uint8_t dpi_config; - }; + uint32_t raw; + struct { + uint8_t dpi_config; + }; } keyboard_config_t; extern keyboard_config_t keyboard_config; @@ -56,3 +56,6 @@ enum ploopy_keycodes { PLOOPY_SAFE_RANGE, #endif }; + +bool encoder_update_user(uint8_t index, bool clockwise); +bool encoder_update_kb(uint8_t index, bool clockwise); |