1 /* 2 * Copyright 2024 Google LLC 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef ZEPHYR_INCLUDE_INPUT_PAW32XX_H_ 8 #define ZEPHYR_INCLUDE_INPUT_PAW32XX_H_ 9 10 /** 11 * @brief Set resolution on a paw32xx device 12 * 13 * @param dev paw32xx device. 14 * @param res_cpi CPI resolution, 200 to 3200. 15 */ 16 int paw32xx_set_resolution(const struct device *dev, uint16_t res_cpi); 17 18 /** 19 * @brief Set force awake mode on a paw32xx device 20 * 21 * @param dev paw32xx device. 22 * @param enable whether to enable or disable force awake mode. 23 */ 24 int paw32xx_force_awake(const struct device *dev, bool enable); 25 26 #endif /* ZEPHYR_INCLUDE_INPUT_PAW32XX_H_ */ 27