Skip to content
Commit 6fdf9c9a authored by Fabian Blatz's avatar Fabian Blatz Committed by Carles Cufí
Browse files

modules: lvgl: Fix coordinate handling for invert-{x,y} and swap-xy



This patch fixes two issues in the coordinate handling of the
`zephyr,lvgl-pointer-input` compatible:
- If the swap-xy flag is set the coordinates need to be swapped even
  before the sync event is received.
- The coordinates are stored into an additional variable instead of the
  pending_event. This is done to prevent the double inversion for touch
  release events.

Resolves issue #70539.

Signed-off-by: default avatarFabian Blatz <fabianblatz@gmail.com>
parent 6801ec0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment