Lines Matching +full:input +full:- +full:event +full:- +full:codes
4 * SPDX-License-Identifier: Apache-2.0
11 * @brief Input Interface
12 * @defgroup input_interface Input Interface
21 #include <zephyr/dt-bindings/input/input-event-codes.h>
30 * @brief Input event structure.
32 * This structure represents a single input event, for example a key or button
37 /** Device generating the event or NULL. */
41 /** Event type (see @ref INPUT_EV_CODES). */
44 * Event code (see @ref INPUT_KEY_CODES, @ref INPUT_BTN_CODES,
48 /** Event value. */
53 * @brief Report a new input event.
56 * either synchronously or through the input thread if utilized.
58 * @param dev Device generating the event or NULL.
59 * @param type Event type (see @ref INPUT_EV_CODES).
60 * @param code Event code (see @ref INPUT_KEY_CODES, @ref INPUT_BTN_CODES,
62 * @param value Event value.
63 * @param sync Set the synchronization bit for the event.
64 * @param timeout Timeout for reporting the event, ignored if
75 * @brief Report a new @ref INPUT_EV_KEY input event, note that value is
88 * @brief Report a new @ref INPUT_EV_REL input event.
100 * @brief Report a new @ref INPUT_EV_ABS input event.
112 * @brief Returns true if the input queue is empty.
114 * This can be used to batch input event processing until the whole queue has
121 * @brief Input callback structure.
133 * @brief Register a callback structure for input events with a custom name.
148 * @brief Register a callback structure for input events.
152 * every event.