-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modules: lvgl: Sync display rotation to LVGL
LVGL supports the `rotated` flag on its display drivers. It is used during input device coordinate processing to translate the physical touch points to the points in (rendered) GUI space. Previously this was done by the Zephyr gluecode on system init. With this change it is now possible to perform runtime rotation of the display, the `lvgl_reload_display_capabilities` method should be called right after `display_set_orientation`. Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
- Loading branch information
Showing
2 changed files
with
28 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters