Searched +full:input +full:- +full:longpress (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/dts/bindings/input/ |
D | zephyr,input-longpress.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 Input longpress pseudo-device 7 Listens for key events as an input and produces key events as output 15 #include <zephyr/dt-bindings/input/input-event-codes.h> 17 longpress { 18 input = <&buttons>; 19 compatible = "zephyr,input-longpress"; 20 input-codes = <INPUT_KEY_0>, <INPUT_KEY_1>; 21 short-codes = <INPUT_KEY_A>, <INPUT_KEY_B>; 22 long-codes = <INPUT_KEY_X>, <INPUT_KEY_Y>; [all …]
|
/Zephyr-latest/tests/subsys/input/longpress/boards/ |
D | native_sim.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/input/input-event-codes.h> 10 fake_input_device: fake-device { 11 compatible = "vnd,input-device"; 14 longpress: longpress { 15 input = <&fake_input_device>; 16 compatible = "zephyr,input-longpress"; 17 input-codes = <INPUT_KEY_0>, <INPUT_KEY_1>; 18 short-codes = <INPUT_KEY_A>, <INPUT_KEY_B>; 19 long-codes = <INPUT_KEY_X>, <INPUT_KEY_Y>; [all …]
|
/Zephyr-latest/subsys/input/ |
D | Kconfig | 2 # 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/tests/drivers/build_all/input/ |
D | app.overlay | 4 * 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/subsys/input/longpress/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 8 #include <zephyr/input/input.h> 15 DT_NODELABEL(longpress)); 27 TC_PRINT("%s: %d %x %d\n", __func__, event_count, evt->code, evt->value); in test_cb() 39 TC_PRINT("%s: %d %x %d\n", __func__, event_count_no_short, evt->code, evt->value); in test_cb_no_short() 47 ZTEST(longpress, test_longpress_test) in ZTEST() argument 74 /* short press - other key */ in ZTEST() 107 /* long press - other key */ in ZTEST() 128 ZTEST_SUITE(longpress, NULL, NULL, NULL, NULL, NULL);
|
/Zephyr-latest/dts/bindings/mfd/ |
D | nordic,npm2100.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: i2c-device.yaml 14 host-int-gpios: 15 type: phandle-array 16 description: Host pin for interrupt input 18 host-int-type: 21 - "edge" 22 - "level" 28 pmic-int-pin: 31 - 0 [all …]
|
/Zephyr-latest/doc/services/input/ |
D | index.rst | 3 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/contribute/documentation/ |
D | guidelines.rst | 24 .. _Sphinx extensions: http://www.sphinx-doc.org/en/stable/contents.html 26 .. _Sphinx Inline Markup: http://sphinx-doc.org/markup/inline.html#inline-markup 30 Sphinx-defined directives and roles used to create the documentation 42 the first non-white space in the preceding line. For example:: 50 .. code-block:: 66 * Third section heading level (h4) use ``-`` 84 For bullet lists, place an asterisk (``*``) or hyphen (``-``) at 113 #. This is a second-level list under the first item (also 143 Multi-column lists 148 a special ``.. rst-class:: rst-columns`` directive. The directive will [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.6.rst | 12 * 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 …]
|