zephyr/samples/subsys/input/input_dump
Marcio Ribeiro 7543386f83 samples: input: espressif boards added to input_dump
Added some board overlay files to permit input touch sensor testing:
- esp32_devkitc_wroom
- esp32_devkitc_wrover
- esp32s2_saola
- esp32s3_devkitm

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
2023-12-11 18:31:38 +01:00
..
boards samples: input: espressif boards added to input_dump 2023-12-11 18:31:38 +01:00
src
CMakeLists.txt
Kconfig
README.rst
prj.conf
sample.yaml

README.rst

.. zephyr:code-sample:: input-dump
   :name: Input dump
   :relevant-api: input_events

   Print all input events.

Overview
********

The Input Dump sample prints any input event using the :ref:`input` APIs.

Requirements
************

The samples works on any board with an input driver defined in the board devicetree.

Building and Running
********************

Build and flash as follows, changing ``nrf52dk_nrf52832`` for your board:

.. zephyr-app-commands::
   :zephyr-app: samples/subsys/input/input_dump
   :board: nrf52dk_nrf52832
   :goals: build flash
   :compact:

After starting, the sample will print any input event in the console.