7#ifndef ZEPHYR_INCLUDE_INPUT_H_
8#define ZEPHYR_INCLUDE_INPUT_H_
139#define INPUT_CALLBACK_DEFINE_NAMED(_dev, _callback, _user_data, name) \
140 static const STRUCT_SECTION_ITERABLE(input_callback, name) = { \
142 .callback = _callback, \
143 .user_data = _user_data, \
157#define INPUT_CALLBACK_DEFINE(_dev, _callback, _user_data) \
158 INPUT_CALLBACK_DEFINE_NAMED(_dev, _callback, _user_data, \
159 _input_callback__##_callback)
__INT32_TYPE__ int32_t
Definition stdint.h:74
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Runtime device structure (in ROM) per driver instance.
Definition device.h:403
Kernel timeout type.
Definition sys_clock.h:65