diff options
author | QMK Bot <hello@qmk.fm> | 2021-11-29 16:24:11 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-11-29 16:24:11 +0000 |
commit | 25a0432228bc94ca88d6adad509d5a12f06ed217 (patch) | |
tree | 906a2674f0bc11b96e5c88753cf48250338249f5 /keyboards/ploopyco/trackball_mini/trackball_mini.h | |
parent | b7cdda7dcd02719efd91817a36ab9268182f1224 (diff) | |
parent | 62e01928cd4d978d275eb28992866ddf0d39922f (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/ploopyco/trackball_mini/trackball_mini.h')
-rw-r--r-- | keyboards/ploopyco/trackball_mini/trackball_mini.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/keyboards/ploopyco/trackball_mini/trackball_mini.h b/keyboards/ploopyco/trackball_mini/trackball_mini.h index fc86fe776e..3af2a49b5e 100644 --- a/keyboards/ploopyco/trackball_mini/trackball_mini.h +++ b/keyboards/ploopyco/trackball_mini/trackball_mini.h @@ -29,16 +29,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(BL, BM, BR, BF, BB) \ { {BL, BM, BR, BF, BB}, } 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); |