1 /* 2 * Copyright 2024 Google LLC 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef ZEPHYR_INCLUDE_INPUT_PAT912X_H_ 8 #define ZEPHYR_INCLUDE_INPUT_PAT912X_H_ 9 10 /** 11 * @brief Set resolution on a pat912x device 12 * 13 * @param dev pat912x device. 14 * @param res_x_cpi CPI resolution for the X axis, 0 to 1275, -1 to keep the 15 * current value. 16 * @param res_y_cpi CPI resolution for the Y axis, 0 to 1275, -1 to keep the 17 * current value. 18 */ 19 int pat912x_set_resolution(const struct device *dev, 20 int16_t res_x_cpi, int16_t res_y_cpi); 21 22 #endif /* ZEPHYR_INCLUDE_INPUT_PAT912X_H_ */ 23