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, \
141 _input_callback__##name) = { \
143 .callback = _callback, \
144 .user_data = _user_data, \
158#define INPUT_CALLBACK_DEFINE(_dev, _callback, _user_data) \
159 INPUT_CALLBACK_DEFINE_NAMED(_dev, _callback, _user_data, _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:411
Kernel timeout type.
Definition sys_clock.h:65