Files
u-boot/drivers/input
Simon Glass e6f6d8a1c4 mouse: Track last mouse position
Add tracking of the last mouse position received, separate from the
click position. This allows callers to query the current mouse position
using mouse_get_pos() regardless of whether a click occurred.

The position is updated in mouse_get_event() for both motion and button
events, ensuring it always reflects the most recent mouse coordinates.

This avoid the problem of mouse_get_click() 'swallowing' motion events
so that a position change is not noticed, e.g. for showing a pointer.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
2025-10-06 09:42:11 -06:00
..
2025-09-25 09:47:09 -06:00
2025-09-25 09:47:09 -06:00
2025-09-25 09:47:09 -06:00
2025-09-15 03:26:57 -06:00