To support multitouch, input devices can report an absolute value
to identify the specific slot to which the subsequent data is linked.
Add a new code for `INPUT_ABS_MT_SLOT` for this purpose.
Signed-off-by: Peter Johanson <peter@peterjohanson.com>
Add few extra definitions used by board DTSs and some that seems to make
sense for potential applications. These match the code and name of the
Linux event codes.
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Initial commit introducing the input subsystem into Zephyr.
Includes the input_event data structure, the input_report_* APIs, an
iterables sections based subscription API and two operation modes:
synchronous, where the listeners are called directly, and asynchronous,
where the listeners are called in a dedicated thread.
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>