7#ifndef _MOTION_SENSOR_H_
8#define _MOTION_SENSOR_H_
23#if CONFIG_DESKTOP_MOTION_SENSOR_PMW3360_ENABLE
27 #define MOTION_SENSOR_COMPATIBLE pixart_pmw3360
40#elif CONFIG_DESKTOP_MOTION_SENSOR_PAW3212_ENABLE
44 #define MOTION_SENSOR_COMPATIBLE pixart_paw3212
59 #error "Sensor not supported"
@ PAW3212_ATTR_SLEEP1_SAMPLE_TIME
Definition: paw3212.h:46
@ PAW3212_ATTR_SLEEP2_SAMPLE_TIME
Definition: paw3212.h:49
@ PAW3212_ATTR_SLEEP3_TIMEOUT
Definition: paw3212.h:43
@ PAW3212_ATTR_SLEEP_ENABLE
Definition: paw3212.h:34
@ PAW3212_ATTR_CPI
Definition: paw3212.h:31
@ PAW3212_ATTR_SLEEP2_TIMEOUT
Definition: paw3212.h:40
@ PAW3212_ATTR_SLEEP3_SAMPLE_TIME
Definition: paw3212.h:52
@ PAW3212_ATTR_SLEEP1_TIMEOUT
Definition: paw3212.h:37
@ PMW3360_ATTR_REST2_DOWNSHIFT_TIME
Definition: pmw3360.h:43
@ PMW3360_ATTR_REST1_DOWNSHIFT_TIME
Definition: pmw3360.h:40
@ PMW3360_ATTR_REST3_SAMPLE_TIME
Definition: pmw3360.h:52
@ PMW3360_ATTR_REST2_SAMPLE_TIME
Definition: pmw3360.h:49
@ PMW3360_ATTR_REST_ENABLE
Definition: pmw3360.h:34
@ PMW3360_ATTR_REST1_SAMPLE_TIME
Definition: pmw3360.h:46
@ PMW3360_ATTR_CPI
Definition: pmw3360.h:31
@ PMW3360_ATTR_RUN_DOWNSHIFT_TIME
Definition: pmw3360.h:37
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
Header file for the paw3212 driver.
Header file for the pmw3360 driver.