|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
PAT912x Miniature Optical Navigation Chip. More...
Files | |
| file | input_pat912x.h |
| Header file for PAT912x input driver. | |
Functions | |
| int | pat912x_set_resolution (const struct device *dev, int16_t res_x_cpi, int16_t res_y_cpi) |
| Set resolution on a pat912x device. | |
PAT912x Miniature Optical Navigation Chip.
#include <zephyr/input/input_pat912x.h>
Set resolution on a pat912x device.
| dev | pat912x device. |
| res_x_cpi | CPI resolution for the X axis, 0 to 1275, -1 to keep the current value. |
| res_y_cpi | CPI resolution for the Y axis, 0 to 1275, -1 to keep the current value. |