Lines Matching refs:input

104 struct input {  struct
151 struct input input; member
365 app->pointer_obj->input.pointer.x = pos_x; in pointer_handle_enter()
366 app->pointer_obj->input.pointer.y = pos_y; in pointer_handle_enter()
472 …app->pointer_obj->input.pointer.x = LV_MAX(0, LV_MIN(wl_fixed_to_int(sx), app->pointer_obj->width … in pointer_handle_motion()
473 …app->pointer_obj->input.pointer.y = LV_MAX(0, LV_MIN(wl_fixed_to_int(sy), app->pointer_obj->height… in pointer_handle_motion()
497 int pos_x = app->pointer_obj->input.pointer.x; in pointer_handle_button()
498 int pos_y = app->pointer_obj->input.pointer.y; in pointer_handle_button()
505 app->pointer_obj->input.pointer.left_button = lv_state; in pointer_handle_button()
508 app->pointer_obj->input.pointer.right_button = lv_state; in pointer_handle_button()
511 app->pointer_obj->input.pointer.wheel_button = lv_state; in pointer_handle_button()
661 app->pointer_obj->input.pointer.wheel_diff++; in pointer_handle_axis()
664 app->pointer_obj->input.pointer.wheel_diff--; in pointer_handle_axis()
849 app->keyboard_obj->input.keyboard.key = lv_key; in keyboard_handle_key()
850 app->keyboard_obj->input.keyboard.state = lv_state; in keyboard_handle_key()
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()
947 i = app->touch_obj->input.touch_event_cnt; in touch_handle_up()
949 app->touch_obj->input.touches[i].point.x = 0; in touch_handle_up()
950 app->touch_obj->input.touches[i].point.y = 0; in touch_handle_up()
951 app->touch_obj->input.touches[i].id = id; in touch_handle_up()
952 app->touch_obj->input.touches[i].timestamp = time; in touch_handle_up()
953 app->touch_obj->input.touches[i].state = LV_INDEV_STATE_RELEASED; in touch_handle_up()
955 app->touch_obj->input.touch_event_cnt++; in touch_handle_up()
1002 touch = &app->touch_obj->input.touches[0]; in touch_handle_motion()
1005 for(i = 0; i < app->touch_obj->input.touch_event_cnt; i++) { in touch_handle_motion()
1014 i = app->touch_obj->input.touch_event_cnt; in touch_handle_motion()
1015 app->touch_obj->input.touches[i].point.x = wl_fixed_to_int(x_w); in touch_handle_motion()
1016 app->touch_obj->input.touches[i].point.y = wl_fixed_to_int(y_w); in touch_handle_motion()
1017 app->touch_obj->input.touches[i].id = id; in touch_handle_motion()
1018 app->touch_obj->input.touches[i].timestamp = time; in touch_handle_motion()
1019 app->touch_obj->input.touches[i].state = LV_INDEV_STATE_PRESSED; in touch_handle_motion()
1020 app->touch_obj->input.touch_event_cnt++; in touch_handle_motion()
2017 window->body->input.pointer.x = LV_MIN((int32_t)window->body->input.pointer.x, (width - 1)); in resize_window()
2018 … window->body->input.pointer.y = LV_MIN((int32_t)window->body->input.pointer.y, (height - 1)); in resize_window()
2304 window->body->input.pointer.x = 0; in _lv_wayland_handle_output()
2305 window->body->input.pointer.y = 0; in _lv_wayland_handle_output()
2306 window->body->input.pointer.left_button = LV_INDEV_STATE_RELEASED; in _lv_wayland_handle_output()
2307 window->body->input.pointer.right_button = LV_INDEV_STATE_RELEASED; in _lv_wayland_handle_output()
2308 window->body->input.pointer.wheel_button = LV_INDEV_STATE_RELEASED; in _lv_wayland_handle_output()
2309 window->body->input.pointer.wheel_diff = 0; in _lv_wayland_handle_output()
2314 window->body->input.keyboard.key = 0; in _lv_wayland_handle_output()
2315 window->body->input.keyboard.state = LV_INDEV_STATE_RELEASED; in _lv_wayland_handle_output()
2349 data->point.x = window->body->input.pointer.x; in _lv_wayland_pointer_read()
2350 data->point.y = window->body->input.pointer.y; in _lv_wayland_pointer_read()
2351 data->state = window->body->input.pointer.left_button; in _lv_wayland_pointer_read()
2362 data->state = window->body->input.pointer.wheel_button; in _lv_wayland_pointeraxis_read()
2363 data->enc_diff = window->body->input.pointer.wheel_diff; in _lv_wayland_pointeraxis_read()
2365 window->body->input.pointer.wheel_diff = 0; in _lv_wayland_pointeraxis_read()
2375 data->key = window->body->input.keyboard.key; in _lv_wayland_keyboard_read()
2376 data->state = window->body->input.keyboard.state; in _lv_wayland_keyboard_read()
2392 recognizer = &window->body->input.recognizer; in _lv_wayland_touch_read()
2394 LV_LOG_TRACE("collected touch events: %d", window->body->input.touch_event_cnt); in _lv_wayland_touch_read()
2396 lv_indev_gesture_detect_pinch(recognizer, &window->body->input.touches[0], in _lv_wayland_touch_read()
2397 window->body->input.touch_event_cnt); in _lv_wayland_touch_read()
2399 window->body->input.touch_event_cnt = 0; in _lv_wayland_touch_read()