blob: ff425bda8b679ab7762a324a98e9d89827faf49a [file] [log] [blame]
/*
* Copyright 2024 Google LLC
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_INCLUDE_INPUT_PAW32XX_H_
#define ZEPHYR_INCLUDE_INPUT_PAW32XX_H_
/**
* @brief Set resolution on a paw32xx device
*
* @param dev paw32xx device.
* @param res_cpi CPI resolution, 200 to 3200.
*/
int paw32xx_set_resolution(const struct device *dev, uint16_t res_cpi);
/**
* @brief Set force awake mode on a paw32xx device
*
* @param dev paw32xx device.
* @param enable whether to enable or disable force awake mode.
*/
int paw32xx_force_awake(const struct device *dev, bool enable);
#endif /* ZEPHYR_INCLUDE_INPUT_PAW32XX_H_ */