zephyr/samples/subsys/input/input_dump
Torsten Rasmussen b9f3d68863 samples: tests: additional overlay and conf file adjustments
Adjustments of overlay and conf files to adjust for the MERGE removal.

The revert of MERGE requires specific overlay and conf files for boards
which relied on the MERGE feature.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2024-04-09 23:35:54 +02:00
..
boards samples: tests: additional overlay and conf file adjustments 2024-04-09 23:35:54 +02:00
src
CMakeLists.txt
Kconfig samples: input_dump: enable shell commands by default 2023-12-08 20:16:39 +00:00
prj.conf
README.rst hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
sample.yaml samples: input_dump: enable shell commands by default 2023-12-08 20:16:39 +00:00

.. 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.