7#ifndef _MOTION_SENSOR_H_
8#define _MOTION_SENSOR_H_
23#if CONFIG_DESKTOP_MOTION_SENSOR_PMW3360_ENABLE
25 #include <sensor/pmw3360.h>
27 #define MOTION_SENSOR_COMPATIBLE pixart_pmw3360
40#elif CONFIG_DESKTOP_MOTION_SENSOR_PAW3212_ENABLE
42 #include <sensor/paw3212.h>
44 #define MOTION_SENSOR_COMPATIBLE pixart_paw3212
59 #error "Sensor not supported"
motion_sensor_option
Definition motion_sensor.h:10
@ MOTION_SENSOR_OPTION_SLEEP3_TIMEOUT
Definition motion_sensor.h:15
@ MOTION_SENSOR_OPTION_COUNT
Definition motion_sensor.h:20
@ MOTION_SENSOR_OPTION_SLEEP1_SAMPLE_TIME
Definition motion_sensor.h:16
@ MOTION_SENSOR_OPTION_SLEEP_ENABLE
Definition motion_sensor.h:12
@ MOTION_SENSOR_OPTION_SLEEP2_TIMEOUT
Definition motion_sensor.h:14
@ MOTION_SENSOR_OPTION_CPI
Definition motion_sensor.h:11
@ MOTION_SENSOR_OPTION_SLEEP3_SAMPLE_TIME
Definition motion_sensor.h:18
@ MOTION_SENSOR_OPTION_SLEEP1_TIMEOUT
Definition motion_sensor.h:13
@ MOTION_SENSOR_OPTION_SLEEP2_SAMPLE_TIME
Definition motion_sensor.h:17