Line data Source code
1 1 : /*
2 : * Copyright 2024 Google LLC
3 : *
4 : * SPDX-License-Identifier: Apache-2.0
5 : */
6 :
7 : /**
8 : * @file
9 : * @brief Header file for PAW32xx input driver.
10 : * @ingroup paw32xx_interface
11 : */
12 :
13 : #ifndef ZEPHYR_INCLUDE_INPUT_PAW32XX_H_
14 : #define ZEPHYR_INCLUDE_INPUT_PAW32XX_H_
15 :
16 : /**
17 : * @defgroup paw32xx_interface PAW32xx
18 : * @ingroup input_interface_ext
19 : * @brief PAW32xx ultra low power wireless mouse chip
20 : * @{
21 : */
22 :
23 : /**
24 : * @brief Set resolution on a paw32xx device
25 : *
26 : * @param dev paw32xx device.
27 : * @param res_cpi CPI resolution, 200 to 3200.
28 : */
29 1 : int paw32xx_set_resolution(const struct device *dev, uint16_t res_cpi);
30 :
31 : /**
32 : * @brief Set force awake mode on a paw32xx device
33 : *
34 : * @param dev paw32xx device.
35 : * @param enable whether to enable or disable force awake mode.
36 : */
37 1 : int paw32xx_force_awake(const struct device *dev, bool enable);
38 :
39 : /** @} */
40 :
41 : #endif /* ZEPHYR_INCLUDE_INPUT_PAW32XX_H_ */
|