Home
last modified time | relevance | path

Searched refs:seat (Results 1 – 25 of 56) sorted by relevance

123

/third_party/libinput/src/
Dpath-seat.c54 struct libinput_seat *seat = device->base.seat; in path_disable_device() local
58 &seat->devices_list, base.link) { in path_disable_device()
71 struct path_seat *seat; in path_input_disable() local
74 list_for_each_safe(seat, &input->base.seat_list, base.link) { in path_input_disable()
75 libinput_seat_ref(&seat->base); in path_input_disable()
77 &seat->base.devices_list, base.link) in path_input_disable()
79 libinput_seat_unref(&seat->base); in path_input_disable()
84 path_seat_destroy(struct libinput_seat *seat) in path_seat_destroy() argument
86 struct path_seat *pseat = (struct path_seat*)seat; in path_seat_destroy()
95 struct path_seat *seat; in path_seat_create() local
[all …]
Dudev-seat.c84 struct udev_seat *seat; in device_added() local
105 seat = udev_seat_get_named(input, seat_name); in device_added()
111 if (filter_duplicates(seat, udev_device)) in device_added()
114 if (seat) in device_added()
115 libinput_seat_ref(&seat->base); in device_added()
117 seat = udev_seat_create(input, device_seat, seat_name); in device_added()
118 if (!seat) in device_added()
122 device = evdev_device_create(&seat->base, udev_device); in device_added()
123 libinput_seat_unref(&seat->base); in device_added()
153 struct udev_seat *seat; in device_removed() local
[all …]
Dlibinput.c355 return event->device->seat->libinput; in libinput_event_get_context()
726 struct libinput *libinput = event->base.device->seat->libinput; in libinput_event_pointer_get_axis_value()
754 struct libinput *libinput = event->base.device->seat->libinput; in libinput_event_pointer_get_axis_value_discrete()
781 struct libinput *libinput = event->base.device->seat->libinput; in libinput_event_pointer_get_scroll_value()
810 struct libinput *libinput = event->base.device->seat->libinput; in libinput_event_pointer_get_scroll_value_v120()
1925 libinput_seat_destroy(struct libinput_seat *seat);
1949 struct libinput_seat *seat; in libinput_unref() local
1970 list_for_each_safe(seat, &libinput->seat_list, link) { in libinput_unref()
1972 &seat->devices_list, in libinput_unref()
1976 libinput_seat_destroy(seat); in libinput_unref()
[all …]
Devdev-fallback.c354 struct libinput_seat *seat = base->seat; in fallback_flush_mt_down() local
369 seat_slot = ffs(~seat->slot_map) - 1; in fallback_flush_mt_down()
375 seat->slot_map |= bit(seat_slot); in fallback_flush_mt_down()
424 struct libinput_seat *seat = base->seat; in fallback_flush_mt_up() local
438 seat->slot_map &= ~bit(seat_slot); in fallback_flush_mt_up()
452 struct libinput_seat *seat = base->seat; in fallback_flush_mt_cancel() local
466 seat->slot_map &= ~bit(seat_slot); in fallback_flush_mt_cancel()
479 struct libinput_seat *seat = base->seat; in fallback_flush_st_down() local
492 seat_slot = ffs(~seat->slot_map) - 1; in fallback_flush_st_down()
498 seat->slot_map |= bit(seat_slot); in fallback_flush_st_down()
[all …]
Dlibinput.h3890 libinput_seat_ref(struct libinput_seat *seat);
3904 libinput_seat_unref(struct libinput_seat *seat);
3918 libinput_seat_set_user_data(struct libinput_seat *seat, void *user_data);
3930 libinput_seat_get_user_data(struct libinput_seat *seat);
3941 libinput_seat_get_context(struct libinput_seat *seat);
3960 libinput_seat_get_physical_name(struct libinput_seat *seat);
3972 libinput_seat_get_logical_name(struct libinput_seat *seat);
Dlibinput-private.h173 typedef void (*libinput_seat_destroy_func) (struct libinput_seat *seat);
347 struct libinput_seat *seat; member
509 libinput_seat_init(struct libinput_seat *seat,
517 struct libinput_seat *seat);
Devdev.c2046 list_for_each(dev, &device->base.seat->devices_list, link) { in evdev_notify_added_device()
2288 evdev_device_create(struct libinput_seat *seat, in evdev_device_create() argument
2291 struct libinput *libinput = seat->libinput; in evdev_device_create()
2330 libinput_device_init(&device->base, seat); in evdev_device_create()
2331 libinput_seat_ref(seat); in evdev_device_create()
2387 list_insert(seat->devices_list.prev, &device->base.link); in evdev_device_create()
2842 list_for_each(it, &device->base.seat->devices_list, link) { in evdev_notify_suspended_device()
2862 list_for_each(it, &device->base.seat->devices_list, link) { in evdev_notify_resumed_device()
2977 list_for_each(dev, &device->base.seat->devices_list, link) { in evdev_device_remove()
3019 libinput_seat_unref(device->base.seat); in evdev_device_destroy()
Devdev-tablet-pad-leds.c161 pad_led_destroy(g->device->seat->libinput, led); in pad_led_group_destroy()
199 struct libinput *libinput = pad->device->base.seat->libinput; in pad_group_new()
/third_party/libinput/quirks/
D30-vendor-madcatz.quirks7 # event21 POINTER_BUTTON +2.35s BTN_BACK (278) pressed, seat count: 1
8 # event21 POINTER_BUTTON +3.08s BTN_BACK (278) released, seat count: 0
9 # event21 POINTER_BUTTON +3.08s BTN_TASK (279) pressed, seat count: 1
10 # event21 POINTER_BUTTON +6.69s BTN_FORWARD (277) pressed, seat count: 1
11 # event21 POINTER_BUTTON +6.69s BTN_TASK (279) released, seat count: 0
12 # event21 POINTER_BUTTON +7.32s BTN_FORWARD (277) released, seat count: 0
13 # event21 POINTER_BUTTON +7.32s BTN_BACK (278) pressed, seat count: 1
14 # event21 POINTER_BUTTON +7.84s BTN_BACK (278) released, seat count: 0
15 # event21 POINTER_BUTTON +7.84s BTN_TASK (279) pressed, seat count: 1
27 # event8 POINTER_BUTTON +0.488s ??? (280) pressed, seat count: 1
[all …]
/third_party/libinput/doc/user/
Dseats.rst7 Each device in libinput is assigned to one seat.
8 A seat has two identifiers, the physical name and the logical name. The
10 physical seat has access to. The logical seat name is the seat name for a
13 itself to a single logical seat, leaving a second compositor to manage
26 The devices "Foo", "Bar" and "Spam" share the same physical seat and are
28 same logical seat. The device "Egg" is not available in the libinput context
29 associated with the physical seat 0.
32 **libinput_seat** comprises both physical seat and logical seat. From a
43 The effect of seat assignment
48 semantically related. This means for devices within the same logical seat:
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/video/wayland/
DSDL_waylandevents.c52 struct wl_seat *seat; member
159 wl_shell_surface_move(window_data->shell_surface, input->seat, serial); in ProcessHitTest()
170 …wl_shell_surface_resize(window_data->shell_surface, input->seat, serial, directions[rc - SDL_HITTE… in ProcessHitTest()
402 seat_handle_capabilities(void *data, struct wl_seat *seat, in seat_handle_capabilities() argument
408 input->pointer = wl_seat_get_pointer(seat); in seat_handle_capabilities()
419 input->keyboard = wl_seat_get_keyboard(seat); in seat_handle_capabilities()
443 input->seat = wl_registry_bind(d->registry, id, &wl_seat_interface, 1); in Wayland_display_add_input()
448 wl_seat_add_listener(input->seat, &seat_listener, input); in Wayland_display_add_input()
449 wl_seat_set_user_data(input->seat, input); in Wayland_display_add_input()
467 if (input->seat) in Wayland_display_destroy_input()
[all …]
/third_party/libinput/doc/user/dot/
Dseats-sketch-libinput.gv11 seat0 [ label="seat phys 0 logical A"];
12 seat1 [ label="seat phys 0 logical B"];
13 seat2 [ label="seat phys 1 logical C"];
Dseats-sketch.gv18 lseatA [label="logical seat A"; URL="\ref libinput_seat_get_logical_name"];
19 lseatB [label="logical seat B"; URL="\ref libinput_seat_get_logical_name"];
20 lseatC [label="logical seat C"; URL="\ref libinput_seat_get_logical_name"];
/third_party/libinput/tools/
Dlibinput-list-devices.c271 struct libinput_seat *seat = libinput_device_get_seat(dev); in print_device_notify() local
297 libinput_seat_get_physical_name(seat), in print_device_notify()
298 libinput_seat_get_logical_name(seat)); in print_device_notify()
379 const char *seat[2] = {"seat0", NULL}; in main() local
398 li = tools_open_backend(BACKEND_UDEV, seat, false, &grab); in main()
Dlibinput-debug-events.c250 struct libinput_seat *seat = libinput_device_get_seat(dev); in print_device_notify() local
265 libinput_seat_get_physical_name(seat), in print_device_notify()
266 libinput_seat_get_logical_name(seat), in print_device_notify()
/third_party/libinput/test/
Dtest-udev.c184 struct libinput_seat *seat; in START_TEST() local
206 seat = libinput_device_get_seat(device); in START_TEST()
207 ck_assert_notnull(seat); in START_TEST()
209 seat_name = libinput_seat_get_logical_name(seat); in START_TEST()
507 struct libinput_seat *seat; in START_TEST() local
554 seat = libinput_device_get_seat(device); in START_TEST()
555 user_data = libinput_seat_get_user_data(seat); in START_TEST()
558 ck_assert(seat == saved_seat); in START_TEST()
Dtest-path.c300 struct libinput_seat *seat; in START_TEST() local
313 seat = libinput_device_get_seat(device); in START_TEST()
314 ck_assert_notnull(seat); in START_TEST()
316 seat_name = libinput_seat_get_logical_name(seat); in START_TEST()
952 struct libinput_seat *seat; in START_TEST() local
1002 seat = libinput_device_get_seat(device); in START_TEST()
1003 user_data = libinput_seat_get_user_data(seat); in START_TEST()
1006 ck_assert(seat == saved_seat); in START_TEST()
/third_party/libinput/export_include/
Dlibinput.h3890 libinput_seat_ref(struct libinput_seat *seat);
3904 libinput_seat_unref(struct libinput_seat *seat);
3918 libinput_seat_set_user_data(struct libinput_seat *seat, void *user_data);
3930 libinput_seat_get_user_data(struct libinput_seat *seat);
3941 libinput_seat_get_context(struct libinput_seat *seat);
3960 libinput_seat_get_physical_name(struct libinput_seat *seat);
3972 libinput_seat_get_logical_name(struct libinput_seat *seat);
/third_party/libinput/completion/zsh/
D_libinput49 '--udev=[Listen for notifications on the given seat]:seat:__all_seats' \
91 '--udev=[Listen for notifications on the given seat]:seat:_libinput_all_seats'
99 '--udev=[Use the first tablet device on the given seat]:seat:_libinput_all_seats'
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/wayland/
Dgstglwindow_wayland_egl.c150 seat_handle_capabilities (void *data, struct wl_seat *seat, in seat_handle_capabilities() argument
157 display->pointer = wl_seat_get_pointer (seat); in seat_handle_capabilities()
166 input->keyboard = wl_seat_get_keyboard (seat); in seat_handle_capabilities()
177 seat_name (void *data, struct wl_seat *seat, const char *name) in seat_name() argument
181 GST_TRACE_OBJECT (window_egl, "seat %p has name %s", seat, name); in seat_name()
520 window_wayland->display.seat = in registry_handle_global()
522 wl_seat_add_listener (window_wayland->display.seat, &seat_listener, in registry_handle_global()
Dgstglwindow_wayland_egl.h51 struct wl_seat *seat; member
/third_party/flutter/glfw/src/
Dwl_init.c345 struct wl_seat* seat, in seatHandleCapabilities() argument
350 _glfw.wl.pointer = wl_seat_get_pointer(seat); in seatHandleCapabilities()
361 _glfw.wl.keyboard = wl_seat_get_keyboard(seat); in seatHandleCapabilities()
404 if (!_glfw.wl.seat) in registryHandleGlobal()
406 _glfw.wl.seat = in registryHandleGlobal()
408 wl_seat_add_listener(_glfw.wl.seat, &seatListener, NULL); in registryHandleGlobal()
Dwl_platform.h116 struct wl_seat* seat; member
/third_party/libinput/
DBUILD.gn53 "src/path-seat.c",
56 "src/udev-seat.c",
/third_party/libinput/doc/api/
Dmainpage.dox41 states are available per-device and per-seat. See @ref seat for more

123