zephyr/samples/drivers/kscan
Ulf Magnusson 984bfae831 global: Remove leading/trailing blank lines in files
Remove leading/trailing blank lines in .c, .h, .py, .rst, .yml, and
.yaml files.

Will avoid failures with the new CI test in
https://github.com/zephyrproject-rtos/ci-tools/pull/112, though it only
checks changed files.

Move the 'target-notes' target in boards/xtensa/odroid_go/doc/index.rst
to get rid of the trailing blank line there. It was probably misplaced.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-12-11 19:17:27 +01:00
..
src global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
CMakeLists.txt samples: drivers: kscan: Add kscan sample application 2019-10-16 13:29:21 -07:00
prj.conf samples: drivers: kscan: Add kscan sample application 2019-10-16 13:29:21 -07:00
prj_mec15xxevb_assy6853.conf samples: drivers: kscan: Add kscan sample application 2019-10-16 13:29:21 -07:00
README.rst samples: drivers: kscan: Add kscan sample application 2019-10-16 13:29:21 -07:00
sample.yaml tests: fix test identifiers 2019-12-09 15:53:44 -05:00

.. kscan-sample:

KSCAN Interface
####################################

Overview
********

This sample demonstrates how to use the :ref:`KSCAN API <kscan>`.
Callbacks are registered that will write to the console indicating KSCAN events.
These events indicate key presses and releases.

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

The sample can be built and executed on boards supporting a Keyboard Matrix.
Please connect a Keyboard Matrix to exercise the functionality. You need to
obtain the right keymap from the vendor because they vary across different
manufactures.

Sample output
=============

.. code-block:: console

   KSCAN test with a Keyboard matrix
   Note: You are expected to see several callbacks
   as you press and release keys!