ecore_input: support ECORE_EVENT_MOUSE_FRAME event 40/312440/2
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 5 Jun 2024 05:14:21 +0000 (14:14 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Tue, 11 Jun 2024 04:30:57 +0000 (04:30 +0000)
commitce708389a0328df8a58e033f89c33eafa888ecc6
treeb91be1dbf05d4e5dc3e508a1367f662bc696adb4
parent92b4eea3a807d918cfef86bf8903ea38dd8497bd
ecore_input: support ECORE_EVENT_MOUSE_FRAME event

We add a new event and structure as below.
- Event: ECORE_EVENT_MOUSE_FRAME
- Struncture: Ecore_Event_Mouse_Frame

This event is generaged when the ecore_wl2 receives the wl_touch.frame or wl_pointer.frame event.
Through this event, clients can group and process the touch or mouse events.

For example,
toolkit which uses Ecore library can accumulate all ECORE_EVENT_MOUSE_DOWN/MOVE/UP events as
they're received, then process pending inputs when the ECORE_EVENT_MOUSE_FRAME event is received.

@tizen_only

Change-Id: Ia4c7446a1f3a03a688e518b3a88afa84cc5696bd
src/lib/ecore_input/Ecore_Input.h
src/lib/ecore_input/ecore_input.c
src/lib/ecore_wl2/ecore_wl2_input.c
src/lib/ecore_wl2/ecore_wl2_private.h