Lines Matching +full:button +full:- +full:input +full:- +full:code

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
33 * press for a single button, or an absolute or relative coordinate for a
44 * Event code (see @ref INPUT_KEY_CODES, @ref INPUT_BTN_CODES,
47 uint16_t code; member
53 * @brief Report a new input event.
56 * either synchronously or through the input thread if utilized.
60 * @param code Event code (see @ref INPUT_KEY_CODES, @ref INPUT_BTN_CODES,
71 uint8_t type, uint16_t code, int32_t value, bool sync,
75 * @brief Report a new @ref INPUT_EV_KEY input event, note that value is
81 uint16_t code, int32_t value, bool sync, in input_report_key() argument
84 return input_report(dev, INPUT_EV_KEY, code, !!value, sync, timeout); in input_report_key()
88 * @brief Report a new @ref INPUT_EV_REL input event.
93 uint16_t code, int32_t value, bool sync, in input_report_rel() argument
96 return input_report(dev, INPUT_EV_REL, code, value, sync, timeout); in input_report_rel()
100 * @brief Report a new @ref INPUT_EV_ABS input event.
105 uint16_t code, int32_t value, bool sync, in input_report_abs() argument
108 return input_report(dev, INPUT_EV_ABS, code, value, sync, timeout); in input_report_abs()
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.