Move pointing device driver code (#24445)
Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
parent
5c85271e48
commit
f5b495e06e
23 changed files with 544 additions and 546 deletions
|
@ -18,6 +18,7 @@
|
|||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include "pointing_device.h"
|
||||
|
||||
#ifndef PAW3204_SCLK_PIN
|
||||
# ifdef POINTING_DEVICE_SCLK_PIN
|
||||
|
@ -40,6 +41,8 @@ typedef struct {
|
|||
bool isMotion;
|
||||
} report_paw3204_t;
|
||||
|
||||
const pointing_device_driver_t paw3204_pointing_device_driver;
|
||||
|
||||
/**
|
||||
* @brief Initializes the sensor so it is in a working state and ready to
|
||||
* be polled for data.
|
||||
|
@ -74,3 +77,5 @@ void paw3204_set_cpi(uint16_t cpi);
|
|||
* @return uint16_t Current CPI value of the sensor
|
||||
*/
|
||||
uint16_t paw3204_get_cpi(void);
|
||||
|
||||
report_mouse_t paw3204_get_report(report_mouse_t mouse_report);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue