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