Home
last modified time | relevance | path

Searched refs:touch_obj (Results 1 – 1 of 1) sorted by relevance

/lvgl-latest/src/drivers/wayland/
Dlv_wayland.c185 struct graphic_object * touch_obj; member
896 app->touch_obj = NULL; in touch_handle_down()
901 app->touch_obj = wl_surface_get_user_data(surface); in touch_handle_down()
902 i = app->touch_obj->input.touch_event_cnt; in touch_handle_down()
904 app->touch_obj->input.touches[i].point.x = wl_fixed_to_int(x_w); in touch_handle_down()
905 app->touch_obj->input.touches[i].point.y = wl_fixed_to_int(y_w); in touch_handle_down()
906 app->touch_obj->input.touches[i].id = id; in touch_handle_down()
907 app->touch_obj->input.touches[i].timestamp = time; in touch_handle_down()
908 app->touch_obj->input.touches[i].state = LV_INDEV_STATE_PRESSED; in touch_handle_down()
909 app->touch_obj->input.touch_event_cnt++; in touch_handle_down()
[all …]