Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
input_pat912x.h File Reference

Go to the source code of this file.

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.
 

Function Documentation

◆ pat912x_set_resolution()

int pat912x_set_resolution ( const struct device dev,
int16_t  res_x_cpi,
int16_t  res_y_cpi 
)

Set resolution on a pat912x device.

Parameters
devpat912x device.
res_x_cpiCPI resolution for the X axis, 0 to 1275, -1 to keep the current value.
res_y_cpiCPI resolution for the Y axis, 0 to 1275, -1 to keep the current value.