Home
last modified time | relevance | path

Searched +full:input +full:- +full:keymap (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/dts/bindings/input/
Dinput-keymap.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Row-column to key mapper
7 Listens for row-column events from the parent device and reports key events.
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
12 #include <zephyr/dt-bindings/input/keymap.h>
16 keymap {
17 compatible = "input-keymap";
18 keymap = <
29 row-size = <3>;
30 col-size = <3>;
[all …]
/Zephyr-latest/subsys/input/
Dinput_keymap.c4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/input/keymap.h>
11 #include <zephyr/input/input.h>
12 #include <zephyr/input/input_keymap.h>
35 const struct keymap_config *cfg = dev->config; in keymap_cb()
36 struct keymap_data *data = dev->data; in keymap_cb()
37 const uint16_t *codes = cfg->codes; in keymap_cb()
40 switch (evt->code) { in keymap_cb()
42 data->col = evt->value; in keymap_cb()
45 data->row = evt->value; in keymap_cb()
[all …]
DKconfig2 # SPDX-License-Identifier: Apache-2.0
4 menuconfig INPUT config
5 bool "Input"
7 Include input subsystem and drivers in the system config.
9 if INPUT
11 module = INPUT
12 module-str = input
16 int "Input subsystem and drivers init priority"
19 Input subsystem and drivers initialization priority.
22 prompt "Input event processing mode"
[all …]
/Zephyr-latest/doc/services/input/
Dgpio-kbd.rst1 .. _gpio-kbd:
6 The :dtcompatible:`gpio-kbd-matrix` driver supports a large variety of keyboard
21 .. figure:: no-diodes.svg
30 .. code-block:: devicetree
32 kbd-matrix {
33 compatible = "gpio-kbd-matrix";
34 row-gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>,
37 col-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>,
49 time can be tweaked by changing the ``settle-time-us`` property.
56 - disable ghosting detection, allowing any key combination to be detected
[all …]
Dindex.rst3 Input chapter
6 The input subsystem provides an API for dispatching input events from input
9 Input Events
12 The subsystem is built around the :c:struct:`input_event` structure. An input
19 multi-axis device have been reported.
21 Input Devices
24 An input device can report input events directly using :c:func:`input_report`
25 or any related function; for example buttons or other on-off input entities
48 on the :kconfig:option:`CONFIG_INPUT_MODE` option. If the input thread is used,
49 all the events are added to a queue and executed in a common ``input`` thread.
[all …]
/Zephyr-latest/doc/hardware/peripherals/
Dkscan.rst8 ported over to use :ref:`input` instead.
15 Typically, matrix keyboards are implemented using a two-dimensional
23 defined by a keymap provided by the keyboard manufacturer.
/Zephyr-latest/tests/drivers/build_all/input/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
17 #io-channel-cells = <1>;
18 #address-cells = <1>;
19 #size-cells = <0>;
26 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
32 gpio-controller;
34 #gpio-cells = <0x2>;
[all …]
/Zephyr-latest/tests/drivers/input/kbd_matrix/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
8 #include <zephyr/input/input.h>
9 #include <zephyr/input/input_kbd_matrix.h>
110 switch (evt->code) { in test_cb()
112 col = evt->value; in test_cb()
115 row = evt->value; in test_cb()
118 val = evt->value; in test_cb()
122 if (evt->sync) { in test_cb()
127 TC_PRINT("input event: count=%d row=%d col=%d val=%d\n", in test_cb()
151 const struct input_kbd_matrix_common_config *cfg = test_dev->config; in ZTEST()
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-3.6.rst12 * New :ref:`GNSS subsystem <gnss_api>` added, enabling geo-awareness in Zephyr applications.
13 * New API and drivers introduced for interfacing with :ref:`keyboard matrices <gpio-kbd>`.
16 * Integrated Trusted Firmware-M (TF-M) 2.0, including an update to Mbed TLS 3.5.2.
23 * Over 30 new supported boards, spanning all Zephyr-supported architectures.
37 * CVE-2023-5779 `Zephyr project bug tracker GHSA-7cmj-963q-jj47
38 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-7cmj-963q-jj47>`_
40 * CVE-2023-6249 `Zephyr project bug tracker GHSA-32f5-3p9h-2rqc
41 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-32f5-3p9h-2rqc>`_
43 * CVE-2023-6749 `Zephyr project bug tracker GHSA-757h-rw37-66hw
44 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-757h-rw37-66hw>`_
[all …]