Lines Matching +full:keyboard +full:- +full:scan

4  * SPDX-License-Identifier: Apache-2.0
11 * @brief Keyboard Matrix API
12 * @defgroup input_kbd_matrix Keyboard Matrix API
26 #define INPUT_KBD_MATRIX_COLUMN_DRIVE_NONE -1
29 #define INPUT_KBD_MATRIX_COLUMN_DRIVE_ALL -2
31 /** Number of tracked scan cycles */
55 * @param dev Pointer to the keyboard matrix device.
61 * @retval -errno Negative errno if row or col are out of range for the device.
73 * @brief Keyboard matrix internal APIs.
81 * @param dev Pointer to the keyboard matrix device.
90 * @param dev Pointer to the keyboard matrix device.
100 * @param dev Pointer to the keyboard matrix device.
107 * @brief Common keyboard matrix config.
137 * @brief Defines the common keyboard matrix support data from devicetree,
141 BUILD_ASSERT(IN_RANGE(_row_size, 1, INPUT_KBD_MATRIX_ROW_BITS), "invalid row-size"); \
142 BUILD_ASSERT(IN_RANGE(_col_size, 1, UINT8_MAX), "invalid col-size"); \
145 "actual-key-mask size does not match the number of columns"); \
157 * @brief Defines the common keyboard matrix support data from devicetree.
164 * @brief Defines the common keyboard matrix support data from devicetree
175 * @brief Defines the common keyboard matrix support data from devicetree instance.
183 * @brief Initialize common keyboard matrix config from devicetree, specify row and col count.
216 * @brief Initialize common keyboard matrix config from devicetree.
226 * @brief Initialize common keyboard matrix config from devicetree instance,
238 * @brief Initialize common keyboard matrix config from devicetree instance.
247 * @brief Common keyboard matrix data.
280 * @brief Start scanning the keyboard matrix
282 * Starts the keyboard matrix scanning cycle, this should be called in reaction
285 * @param dev Keyboard matrix device instance.
297 * @param dev Keyboard matrix device instance.
306 * @brief Common function to initialize a keyboard matrix device at init time.
310 * @param dev Keyboard matrix device instance.
313 * @retval -errno Negative errno in case of failure.
321 * This handles PM actions for a keyboard matrix device, meant to be used as
324 * @param dev Keyboard matrix device instance.