aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ploopyco/trackball_mini/trackball_mini.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ploopyco/trackball_mini/trackball_mini.h')
-rw-r--r--keyboards/ploopyco/trackball_mini/trackball_mini.h13
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 fc86fe776..3af2a49b5 100644
--- a/keyboards/ploopyco/trackball_mini/trackball_mini.h
+++ b/keyboards/ploopyco/trackball_mini/trackball_mini.h
@@ -29,16 +29,16 @@
29#define OPT_ENC1_MUX 0 29#define OPT_ENC1_MUX 0
30#define OPT_ENC2_MUX 4 30#define OPT_ENC2_MUX 4
31 31
32void process_wheel(report_mouse_t* mouse_report); 32void process_wheel(void);
33 33
34#define LAYOUT(BL, BM, BR, BF, BB) \ 34#define LAYOUT(BL, BM, BR, BF, BB) \
35 { {BL, BM, BR, BF, BB}, } 35 { {BL, BM, BR, BF, BB}, }
36 36
37typedef union { 37typedef union {
38 uint32_t raw; 38 uint32_t raw;
39 struct { 39 struct {
40 uint8_t dpi_config; 40 uint8_t dpi_config;
41 }; 41 };
42} keyboard_config_t; 42} keyboard_config_t;
43 43
44extern keyboard_config_t keyboard_config; 44extern keyboard_config_t keyboard_config;
@@ -56,3 +56,6 @@ enum ploopy_keycodes {
56 PLOOPY_SAFE_RANGE, 56 PLOOPY_SAFE_RANGE,
57#endif 57#endif
58}; 58};
59
60bool encoder_update_user(uint8_t index, bool clockwise);
61bool encoder_update_kb(uint8_t index, bool clockwise);