Add debug information to ecore_event
authorHyukSoon Choi <hs619.choi@samsung.com>
Tue, 31 Mar 2020 04:57:31 +0000 (13:57 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Fri, 3 Apr 2020 01:38:39 +0000 (10:38 +0900)
- add debug information which for analyzing of many issues related to touch event.
Sometimes we need more information regarding touch events of ecore layer.
(ex. position, timestamp, etc)

Change-Id: I76ee7f9faf6027c914237355be4f3c2eaaf74dcb
Signed-off-by: HyukSoon Choi <hs619.choi@samsung.com>
src/lib/ecore_input_evas/ecore_input_evas.c

index 18269f7..3ff43c0 100644 (file)
@@ -639,8 +639,9 @@ _ecore_event_evas_mouse_button(Ecore_Event_Mouse_Button *e, Ecore_Event_Press pr
    //
    if (e->double_click) flags |= EVAS_BUTTON_DOUBLE_CLICK;
    if (e->triple_click) flags |= EVAS_BUTTON_TRIPLE_CLICK;
-   INF("\tButtonEvent:ecore_event_evas press(%d), device(%d), button(%d), fake(%d)", press, e->multi.device, e->buttons, faked);
-
+   //TIZEN_ONLY(20200331): Add debug
+   INF("\tButtonEvent:ecore_event_evas press(%d), device(%d), button(%d), fake(%d), pos(%d,%d), time(%u)", press, e->multi.device, e->buttons, faked, e->x, e->y, e->timestamp);
+   //
    //handle all mouse error from under layers of ecore
    //error handle
    // 1. ecore up without ecore down