Home
last modified time | relevance | path

Searched +full:lvgl +full:- +full:encoder +full:- +full:input (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/dts/bindings/input/
Dzephyr,lvgl-encoder-input.yaml2 # SPDX-License-Identifier: Apache-2.0
5 LVGL encoder indev pseudo-device
7 Listens for button/encoder input events and routes the
8 lv_indev_data_t to the underlying encoder lv_indev_t managed by LVGL.
12 encoder {
13 compatible = "zephyr,lvgl-encoder-input";
14 rotation-input-code = <INPUT_REL_Y>;
15 button-input-code = <INPUT_KEY_0>;
18 compatible: "zephyr,lvgl-encoder-input"
20 include: zephyr,lvgl-common-input.yaml
[all …]
/Zephyr-latest/modules/lvgl/
DKconfig.input1 # Copyright (c) 2018-2019 Jan Van Winkel <jan.van_winkel@dxplore.eu>
3 # SPDX-License-Identifier: Apache-2.0
5 menu "Input device settings"
8 bool "Input lvgl pointer"
10 depends on INPUT
14 int "Input pointer queue message count"
18 Size of the pointer message queue buffering input events.
21 bool "Input lvgl button"
23 depends on INPUT
27 int "Input button queue message count"
[all …]
Dlvgl_shell.c4 * SPDX-License-Identifier: Apache-2.0
8 #include <lvgl.h>
35 return "encoder"; in lvgl_monkey_indev_as_string()
49 } else if (strcmp(str, "encoder") == 0) { in lvgl_monkey_indev_from_string()
52 return -EINVAL; in lvgl_monkey_indev_from_string()
62 shell_print(sh, "%-4u %-9s %-3s", i, in dump_monkey_info()
90 shell_error(sh, "Invalid monkey input device %s", argv[1]); in cmd_lvgl_monkey_create()
107 return -ENOSPC; in cmd_lvgl_monkey_create()
122 return -ENOEXEC; in cmd_lvgl_monkey_set()
156 if (strcmp(argv[1], "-c") == 0) { in cmd_lvgl_stats_memory()
[all …]
/Zephyr-latest/samples/subsys/display/lvgl/
DREADME.rst1 .. zephyr:code-sample:: lvgl
2 :name: LVGL basic sample
3 :relevant-api: display_interface input_interface
5 Display a "Hello World" and react to user input using LVGL.
12 Based on the available input devices on the board used to run the sample,
17 (:dtcompatible:`zephyr,lvgl-pointer-input`), a button widget is displayed
20 The button pseudo device (:dtcompatible:`zephyr,lvgl-button-input`) maps
23 * Encoder
24 The encoder pseudo device (:dtcompatible:`zephyr,lvgl-encoder-input`)
26 board contains an encoder, an arc widget is displayed, which can be
[all …]
/Zephyr-latest/samples/modules/lvgl/demos/
DREADME.rst1 .. zephyr:code-sample:: lvgl-demos
2 :name: LVGL demos
3 :relevant-api: display_interface
5 Run LVGL built-in demos.
10 A sample showcasing upstream LVGL demos.
13 …usic player demo shows what kind of modern, smartphone-like user interfaces can be created on LVGL.
17 …A stress test for LVGL. It contains a lot of object creation, deletion, animations, styles usage, …
19 Shows how the widgets look like out of the box using the built-in material theme.
22 * Keypad and Encoder
23 Shows how to control widget with a keypad and hardware encoder.
[all …]
/Zephyr-latest/samples/subsys/display/lvgl/boards/
Dnative_posix.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
8 #include <zephyr/dt-bindings/lvgl/lvgl.h>
16 compatible = "gpio-qdec";
18 steps-per-period = <4>;
20 sample-time-us = <2000>;
21 idle-timeout-ms = <200>;
25 compatible = "gpio-keys";
59 compatible = "zephyr,lvgl-button-input";
60 input = <&keys>;
[all …]
/Zephyr-latest/modules/lvgl/input/
Dlvgl_encoder_input.c4 * SPDX-License-Identifier: Apache-2.0
14 LOG_MODULE_DECLARE(lvgl, CONFIG_LV_Z_LOG_LEVEL);
25 struct lvgl_common_input_data *data = dev->data; in lvgl_encoder_process_event()
26 const struct lvgl_encoder_input_config *cfg = dev->config; in lvgl_encoder_process_event()
28 if (evt->code == cfg->rotation_input_code) { in lvgl_encoder_process_event()
29 data->pending_event.enc_diff = evt->value; in lvgl_encoder_process_event()
30 } else if (evt->code == cfg->button_input_code) { in lvgl_encoder_process_event()
31 data->pending_event.state = in lvgl_encoder_process_event()
32 evt->value ? LV_INDEV_STATE_PRESSED : LV_INDEV_STATE_RELEASED; in lvgl_encoder_process_event()
33 data->pending_event.enc_diff = 0; in lvgl_encoder_process_event()
[all …]
/Zephyr-latest/doc/services/input/
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/releases/
Drelease-notes-3.5.rst22 * Improved LVGL graphics library integration
38 * CVE-2023-3725 `Zephyr project bug tracker GHSA-2g3m-p6c7-8rr3
39 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2g3m-p6c7-8rr3>`_
41 * CVE-2023-4257 `Zephyr project bug tracker GHSA-853q-q69w-gf5j
42 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-853q-q69w-gf5j>`_
44 * CVE-2023-4258 `Zephyr project bug tracker GHSA-m34c-cp63-rwh7
45 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m34c-cp63-rwh7>`_
47 * CVE-2023-4259 `Zephyr project bug tracker GHSA-gghm-c696-f4j4
48 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gghm-c696-f4j4>`_
50 * CVE-2023-4260 `Zephyr project bug tracker GHSA-gj27-862r-55wh
[all …]
Drelease-notes-3.7.rst10 This release is the last non-maintenance 3.x release and, as such, will be the next
18 * A long-awaited :ref:`HTTP Server <http_server_interface>` library, and associated service API,
21 * :ref:`POSIX support <posix_support>` has been extended, with most Options of the IEEE 1003-2017
25 * Bluetooth Host has been extended with support for the Nordic UART Service (NUS), Hands-free Audio
29 :ref:`read-then-decode approach <sensor-read-and-decode>` that enables more types of sensors and
35 * Trusted Firmware-M (TF-M) 2.1.0 and Mbed TLS 3.6.0 have been integrated into Zephyr.
39 1588) allows to synchronize time across devices with sub-microsecond accuracy.
52 * 1-Wire
71 :ref:`pinctrl-guide` for more details.
88 * CVE-2024-3077 `Zephyr project bug tracker GHSA-gmfv-4vfh-2mh8
[all …]
Drelease-notes-4.0.rst15 is now the standard way to provide device-specific protection to data at rest. (:github:`76222`)
18 :ref:`ZMS <zms_api>` is a new key-value storage subsystem compatible with all non-volatile storage
25 runtime configuration through vendor specific APIs. Initially the :dtcompatible:`nordic,nrf-comp`,
26 :dtcompatible:`nordic,nrf-lpcomp` and :dtcompatible:`nxp,kinetis-acmp` are supported.
31 Initially implemented drivers include a simple :dtcompatible:`zephyr,gpio-steppers` and a complex
32 sensor-less stall-detection capable with integrated ramp-controller :dtcompatible:`adi,tmc5041`.
50 directory for :zephyr:code-sample-category:`code samples <samples>`.
70 * :cve:`2024-8798`: Under embargo until 2024-11-22
71 * :cve:`2024-10395`: Under embargo until 2025-01-23
72 * :cve:`2024-11263` `Zephyr project bug tracker GHSA-jjf3-7x72-pqm9
[all …]
Drelease-notes-3.1.rst61 * Split CAN classic and CAN-FD APIs:
90 was moved from Kconfig to :ref:`devicetree <dt-guide>`.
91 See the :dtcompatible:`st,stm32f1-pinctrl` devicetree binding for more information.
182 * MIPI-DSI
184 * Added a :ref:`MIPI-DSI api <mipi_dsi_api>`. This is an experimental API,
196 * Added support for enabling/disabling CAN-FD mode at runtime using :c:macro:`CAN_MODE_FD`.
220 * Added support for Provisioners over PB-GATT
231 * Implemented ISO-AL TX unframed fragmentation
232 * Added support for back-to-back receiving of PDUs on nRF5x platforms
249 newly created informational-only callback struct :c:struct:`bt_conn_auth_info_cb`.
[all …]
Drelease-notes-3.2.rst13 * Added support for :ref:`bin-blobs` (also see :ref:`west-blobs`).
15 * Converted all supported boards from ``pinmux`` to :ref:`pinctrl-guide`.
31 * CVE-2022-2993: Under embargo until 2022-11-03
33 * CVE-2022-2741: Under embargo until 2022-10-14
56 This definition can be used by third-party code to compile code conditional
58 Therefore, any third-party code integrated using the Zephyr build system will
91 changed from ``-ENETDOWN`` to ``-ENETUNREACH``. A return value of ``-ENETDOWN`` now indicates
129 * Removed support for configuring the CAN-FD maximum DLC value via Kconfig
156 valid for specific bindings to specify like :dtcompatible:`gpio-leds` and
157 :dtcompatible:`fixed-partitions`.
[all …]