modules: lvgl: fix pointer input for normal orientation
Add missing break statement for normal orientation. Signed-off-by: Georgij Cernysiov <geo.cgv@gmail.com>
This commit is contained in:
parent
3ea5f799dd
commit
048b7552eb
1 changed files with 1 additions and 0 deletions
|
|
@ -89,6 +89,7 @@ static void lvgl_pointer_process_event(const struct device *dev, struct input_ev
|
|||
case DISPLAY_ORIENTATION_NORMAL:
|
||||
point->x = tmp_point.x;
|
||||
point->y = tmp_point.y;
|
||||
break;
|
||||
case DISPLAY_ORIENTATION_ROTATED_90:
|
||||
point->x = tmp_point.y;
|
||||
point->y = cap->y_resolution - tmp_point.x;
|
||||
|
|
|
|||
Loading…
Reference in a new issue