Input dump

Browse source code on GitHub

Overview

The Input Dump sample prints any input event using the 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:

west build -b nrf52dk/nrf52832 samples/subsys/input/input_dump
west flash

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

See also

Input Event Definitions