• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boards/11-Mar-2024-43

src/11-Mar-2024-16883

CMakeLists.txtD11-Mar-2024222 96

README.rstD11-Mar-2024939 3323

prj.confD11-Mar-202456 53

sample.yamlD11-Mar-2024290 1615

README.rst

1.. _kscan-sample:
2
3KSCAN Interface
4####################################
5
6Overview
7********
8
9This sample demonstrates how to use the :ref:`KSCAN API <kscan_api>`.
10Callbacks are registered that will write to the console indicating KSCAN events.
11These events indicate key presses and releases.
12
13Building and Running
14********************
15
16The sample can be built and executed on boards supporting a Keyboard Matrix.
17It requires a correct fixture setup. Please connect a Keyboard Matrix to
18exercise the functionality (you need to obtain the right keymap from the vendor
19because they vary across different manufactures).
20For the correct execution of that sample in twister, add into boards's
21map-file next fixture settings::
22
23      - fixture: fixture_connect_keyboard
24
25Sample output
26=============
27
28.. code-block:: console
29
30   KSCAN test with a Keyboard matrix
31   Note: You are expected to see several callbacks
32   as you press and release keys!
33