Home
last modified time | relevance | path

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

/third_party/weston/libweston/
Dlibinput-device.c393 struct weston_touch_device *touch_device; in create_touch_device() local
407 touch_device = weston_touch_create_touch_device(device->seat->touch_state, in create_touch_device()
419 if (!touch_device) in create_touch_device()
424 touch_device->syspath); in create_touch_device()
426 return touch_device; in create_touch_device()
458 if (weston_touch_device_can_calibrate(device->touch_device)) { in handle_touch_with_coords()
461 notify_touch_normalized(device->touch_device, &time, slot, in handle_touch_with_coords()
464 notify_touch(device->touch_device, &time, slot, x, y, touch_type); in handle_touch_with_coords()
494 notify_touch(device->touch_device, &time, slot, 0, 0, WL_TOUCH_UP); in handle_touch_up()
504 notify_touch_frame(device->touch_device); in handle_touch_frame()
[all …]
Dlibinput-device.h48 struct weston_touch_device *touch_device; member
Dlibinput-seat.c226 struct weston_touch *touch = device->touch_device->aggregate; in process_multimodalinput_touch_event()
/third_party/libinput/src/
Devdev-totem.c53 struct evdev_device *touch_device; member
113 struct evdev_device *touch_device = totem->touch_device; in totem_set_touch_device_enabled() local
118 if (touch_device == NULL) in totem_set_touch_device_enabled()
145 dispatch = touch_device->dispatch; in totem_set_touch_device_enabled()
150 touch_device, in totem_set_touch_device_enabled()
161 touch_device, in totem_set_touch_device_enabled()
169 touch_device, in totem_set_touch_device_enabled()
633 if (totem->touch_device != NULL) { in totem_interface_device_added()
640 totem->touch_device = added_device; in totem_interface_device_added()
650 if (totem->touch_device != removed_device) in totem_interface_device_removed()
[all …]
Devdev-tablet.c284 struct evdev_device *touch_device = tablet->touch_device; in tablet_change_rotation() local
294 if (notify == DO_NOTIFY && touch_device) { in tablet_change_rotation()
297 dispatch = touch_device->dispatch; in tablet_change_rotation()
300 touch_device, in tablet_change_rotation()
1525 if (tablet->touch_device == NULL || in tablet_update_touch_device_rect()
1531 dispatch = tablet->touch_device->dispatch; in tablet_update_touch_device_rect()
1534 tablet->touch_device, in tablet_update_touch_device_rect()
1926 struct evdev_device *touch_device = tablet->touch_device; in tablet_set_touch_device_enabled() local
1929 if (touch_device == NULL) in tablet_set_touch_device_enabled()
1934 dispatch = touch_device->dispatch; in tablet_set_touch_device_enabled()
[all …]
Devdev-tablet.h93 struct evdev_device *touch_device; member
98 struct evdev_device *touch_device; member
/third_party/weston/tests/
Dweston-test.c60 struct weston_touch_device *touch_device[MAX_TOUCH_DEVICES]; member
82 assert(!test->touch_device[i]); in touch_device_add()
86 test->touch_device[i] = weston_touch_create_touch_device( in touch_device_add()
97 assert(test->touch_device[i]); in touch_device_remove()
98 weston_touch_device_destroy(test->touch_device[i]); in touch_device_remove()
99 test->touch_device[i] = NULL; in touch_device_remove()
591 struct weston_touch_device *device = test->touch_device[0]; in send_touch()
/third_party/weston/libweston/backend-wayland/
Dwayland.c209 struct weston_touch_device *touch_device; member
2166 notify_touch(input->touch_device, &ts, id, x, y, WL_TOUCH_DOWN); in input_handle_touch_down()
2207 notify_touch(input->touch_device, &ts, id, 0, 0, WL_TOUCH_UP); in input_handle_touch_up()
2236 notify_touch(input->touch_device, &ts, id, x, y, WL_TOUCH_MOTION); in input_handle_touch_motion()
2247 notify_touch_frame(input->touch_device); in input_handle_touch_frame()
2258 notify_touch_cancel(input->touch_device); in input_handle_touch_cancel()
2273 struct weston_touch_device *touch_device; in create_touch_device() local
2280 touch_device = weston_touch_create_touch_device(input->base.touch_state, in create_touch_device()
2283 return touch_device; in create_touch_device()
2327 input->touch_device = create_touch_device(input); in input_handle_capabilities()
[all …]