win: Add EO API to query state of multi touch points
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 31 Aug 2016 06:41:12 +0000 (15:41 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Thu, 1 Sep 2016 05:57:11 +0000 (14:57 +0900)
commitb3993b684e30bf20fca66cf25308f627420a199d
tree1fa5f2ad18a8733f596e9a8e87fc72e0010aafa1
parente61b7139ffba55504b653e14801d956eac180a63
win: Add EO API to query state of multi touch points

This combines evas canvas functions to list and query
touch points into a single iterator:
 - evas_touch_point_list_count
 - evas_touch_point_list_nth_xy_get
 - evas_touch_point_list_nth_id_get
 - evas_touch_point_list_nth_state_get

This also fixes a number of issues related to feeding fake
input events.

Note: I wanted to add delta x,y information as well but it's
in fact not really possible outside the event callback itself,
as the previous x,y position will not be updated unless there's
an event.

@feature
src/lib/efl/interfaces/efl_input_types.eot
src/lib/elementary/efl_ui_win.c
src/lib/elementary/efl_ui_win.eo
src/lib/evas/canvas/efl_input_interface.eo
src/lib/evas/canvas/efl_input_pointer.c
src/lib/evas/canvas/evas_canvas.eo
src/lib/evas/canvas/evas_events.c
src/lib/evas/canvas/evas_touch_point.c
src/lib/evas/include/evas_private.h
src/tests/elementary/elm_test_win.c