Buffered LVGL Input: Preserve Press and Release Events Between UI Polls
A latest-state input callback can miss a complete tap that begins and ends between reads. Preserve ordered press and release records, return one record per callback, and request another read while the permitted batch still has data. When the queue is empty, report the last admitted state rather than inventing a release. Applicability: this design…