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
|
@ -17,6 +17,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include "pointing_device.h"
|
||||
|
||||
#ifndef ADNS9800_CPI
|
||||
# define ADNS9800_CPI 1600
|
||||
|
@ -60,6 +61,8 @@ typedef struct {
|
|||
int16_t y;
|
||||
} report_adns9800_t;
|
||||
|
||||
const pointing_device_driver_t adns9800_pointing_device_driver;
|
||||
|
||||
void adns9800_init(void);
|
||||
config_adns9800_t adns9800_get_config(void);
|
||||
void adns9800_set_config(config_adns9800_t);
|
||||
|
@ -67,3 +70,4 @@ uint16_t adns9800_get_cpi(void);
|
|||
void adns9800_set_cpi(uint16_t cpi);
|
||||
/* Reads and clears the current delta values on the ADNS sensor */
|
||||
report_adns9800_t adns9800_get_report(void);
|
||||
report_mouse_t adns9800_get_report_driver(report_mouse_t mouse_report);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue