diff options
Diffstat (limited to 'keyboards/ploopyco/mouse/mouse.h')
| -rw-r--r-- | keyboards/ploopyco/mouse/mouse.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/keyboards/ploopyco/mouse/mouse.h b/keyboards/ploopyco/mouse/mouse.h index 3c89d64d8..f80449c18 100644 --- a/keyboards/ploopyco/mouse/mouse.h +++ b/keyboards/ploopyco/mouse/mouse.h | |||
| @@ -20,7 +20,7 @@ | |||
| 20 | 20 | ||
| 21 | #include "quantum.h" | 21 | #include "quantum.h" |
| 22 | #include "spi_master.h" | 22 | #include "spi_master.h" |
| 23 | #include "pmw3600.h" | 23 | #include "pmw3360.h" |
| 24 | #include "analog.h" | 24 | #include "analog.h" |
| 25 | #include "opt_encoder.h" | 25 | #include "opt_encoder.h" |
| 26 | #include "pointing_device.h" | 26 | #include "pointing_device.h" |
| @@ -38,3 +38,17 @@ void process_wheel_user(report_mouse_t* mouse_report, int16_t h, int16_t v); | |||
| 38 | 38 | ||
| 39 | #define LAYOUT(BLL, BL, BM, BR, BRR, BF, BB, BDPI) \ | 39 | #define LAYOUT(BLL, BL, BM, BR, BRR, BF, BB, BDPI) \ |
| 40 | { {BL, BM, BR, BF, BB, BRR, BLL, BDPI}, } | 40 | { {BL, BM, BR, BF, BB, BRR, BLL, BDPI}, } |
| 41 | |||
| 42 | typedef union { | ||
| 43 | uint32_t raw; | ||
| 44 | struct { | ||
| 45 | uint8_t dpi_config; | ||
| 46 | }; | ||
| 47 | } keyboard_config_t; | ||
| 48 | |||
| 49 | extern keyboard_config_t keyboard_config; | ||
| 50 | |||
| 51 | enum ploopy_keycodes { | ||
| 52 | DPI_CONFIG = SAFE_RANGE, | ||
| 53 | PLOOPY_SAFE_RANGE, | ||
| 54 | }; | ||
