Home
last modified time | relevance | path

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

/dports/x11-toolkits/wlroots/wlroots-0.12.0/backend/libinput/
H A Dpointer.c27 if (!wlr_dev) { in handle_pointer_motion()
42 wlr_signal_emit_safe(&wlr_dev->pointer->events.frame, wlr_dev->pointer); in handle_pointer_motion()
49 if (!wlr_dev) { in handle_pointer_motion_abs()
69 if (!wlr_dev) { in handle_pointer_button()
96 if (!wlr_dev) { in handle_pointer_axis()
148 if (!wlr_dev) { in handle_pointer_swipe_begin()
167 if (!wlr_dev) { in handle_pointer_swipe_update()
188 if (!wlr_dev) { in handle_pointer_swipe_end()
207 if (!wlr_dev) { in handle_pointer_pinch_begin()
226 if (!wlr_dev) { in handle_pointer_pinch_update()
[all …]
H A Devents.c60 &wlr_dev->width_mm, &wlr_dev->height_mm); in allocate_device()
70 return wlr_dev; in allocate_device()
100 if (!wlr_dev) { in handle_device_added()
105 free(wlr_dev); in handle_device_added()
114 if (!wlr_dev) { in handle_device_added()
119 free(wlr_dev); in handle_device_added()
128 if (!wlr_dev) { in handle_device_added()
133 free(wlr_dev); in handle_device_added()
142 if (!wlr_dev) { in handle_device_added()
147 free(wlr_dev); in handle_device_added()
[all …]
H A Dtouch.c25 struct wlr_input_device *wlr_dev = in handle_touch_down() local
27 if (!wlr_dev) { in handle_touch_down()
34 wlr_event.device = wlr_dev; in handle_touch_down()
45 struct wlr_input_device *wlr_dev = in handle_touch_up() local
47 if (!wlr_dev) { in handle_touch_up()
54 wlr_event.device = wlr_dev; in handle_touch_up()
63 struct wlr_input_device *wlr_dev = in handle_touch_motion() local
65 if (!wlr_dev) { in handle_touch_motion()
72 wlr_event.device = wlr_dev; in handle_touch_motion()
85 if (!wlr_dev) { in handle_touch_cancel()
[all …]
H A Dtablet_tool.c160 struct wlr_tablet *wlr_dev) { in ensure_tool_reference() argument
192 struct wlr_input_device *wlr_dev = in handle_tablet_tool_axis() local
194 if (!wlr_dev) { in handle_tablet_tool_axis()
206 wlr_event.device = wlr_dev; in handle_tablet_tool_axis()
253 struct wlr_input_device *wlr_dev = in handle_tablet_tool_proximity() local
255 if (!wlr_dev) { in handle_tablet_tool_proximity()
268 wlr_event.device = wlr_dev; in handle_tablet_tool_proximity()
318 if (!wlr_dev) { in handle_tablet_tool_tip()
331 wlr_event.device = wlr_dev; in handle_tablet_tool_tip()
353 if (!wlr_dev) { in handle_tablet_tool_button()
[all …]
H A Dtablet_pad.c100 struct wlr_input_device *wlr_dev = in handle_tablet_pad_button() local
102 if (!wlr_dev) { in handle_tablet_pad_button()
124 wlr_signal_emit_safe(&wlr_dev->tablet_pad->events.button, &wlr_event); in handle_tablet_pad_button()
129 struct wlr_input_device *wlr_dev = in handle_tablet_pad_ring() local
131 if (!wlr_dev) { in handle_tablet_pad_ring()
152 wlr_signal_emit_safe(&wlr_dev->tablet_pad->events.ring, &wlr_event); in handle_tablet_pad_ring()
157 struct wlr_input_device *wlr_dev = in handle_tablet_pad_strip() local
159 if (!wlr_dev) { in handle_tablet_pad_strip()
180 wlr_signal_emit_safe(&wlr_dev->tablet_pad->events.strip, &wlr_event); in handle_tablet_pad_strip()
H A Dswitch.c26 struct wlr_input_device *wlr_dev = in handle_switch_toggle() local
28 if (!wlr_dev) { in handle_switch_toggle()
35 wlr_event.device = wlr_dev; in handle_switch_toggle()
54 wlr_signal_emit_safe(&wlr_dev->switch_device->events.toggle, &wlr_event); in handle_switch_toggle()
H A Dkeyboard.c58 struct wlr_input_device *wlr_dev = in handle_keyboard_key() local
60 if (!wlr_dev) { in handle_keyboard_key()
82 wlr_keyboard_notify_key(wlr_dev->keyboard, &wlr_event); in handle_keyboard_key()
H A Dbackend.c129 struct wlr_input_device *wlr_dev, *next; in backend_destroy() local
130 wl_list_for_each_safe(wlr_dev, next, wlr_devices, link) { in backend_destroy()
131 wlr_input_device_destroy(wlr_dev); in backend_destroy()
221 struct wlr_input_device *wlr_dev) { in wlr_libinput_get_device_handle() argument
223 (struct wlr_libinput_input_device *)wlr_dev; in wlr_libinput_get_device_handle()
/dports/x11-toolkits/wlroots/wlroots-0.12.0/backend/wayland/
H A Dseat.c492 .device = wlr_dev, in gesture_swipe_begin()
506 .device = wlr_dev, in gesture_swipe_update()
521 .device = wlr_dev, in gesture_swipe_end()
541 .device = wlr_dev, in gesture_pinch_begin()
555 .device = wlr_dev, in gesture_pinch_update()
572 .device = wlr_dev, in gesture_pinch_end()
599 .device = wlr_dev, in relative_pointer_handle_relative_motion()
693 wlr_dev->keyboard = calloc(1, sizeof(*wlr_dev->keyboard)); in create_wl_keyboard()
694 if (!wlr_dev->keyboard) { in create_wl_keyboard()
714 wlr_dev->touch = calloc(1, sizeof(*wlr_dev->touch)); in create_wl_touch()
[all …]
H A Dtablet_v2.c444 struct wlr_input_device *wlr_dev = &dev->wlr_input_device; in handle_pad_added() local
445 wlr_dev->tablet_pad = calloc(1, sizeof(*wlr_dev->tablet_pad)); in handle_pad_added()
447 if (!wlr_dev->tablet_pad) { in handle_pad_added()
455 wlr_tablet_pad_init(wlr_dev->tablet_pad, NULL); in handle_pad_added()
902 struct wlr_input_device *wlr_dev = &dev->wlr_input_device; in handle_tab_added() local
903 wlr_dev->tablet = calloc(1, sizeof(*wlr_dev->tablet)); in handle_tab_added()
905 if (!wlr_dev->tablet) { in handle_tab_added()
909 zwp_tablet_v2_set_user_data(id, wlr_dev->tablet); in handle_tab_added()
910 wlr_tablet_init(wlr_dev->tablet, NULL); in handle_tab_added()
/dports/x11-toolkits/wlroots/wlroots-0.12.0/types/
H A Dwlr_virtual_pointer_v1.c40 struct wlr_input_device *wlr_dev = &pointer->input_device; in virtual_pointer_motion() local
42 .device = wlr_dev, in virtual_pointer_motion()
63 struct wlr_input_device *wlr_dev = &pointer->input_device; in virtual_pointer_motion_absolute() local
65 .device = wlr_dev, in virtual_pointer_motion_absolute()
83 .device = wlr_dev, in virtual_pointer_button()
108 pointer->axis_event[pointer->axis].device = wlr_dev; in virtual_pointer_axis()
128 wlr_signal_emit_safe(&wlr_dev->pointer->events.axis, in virtual_pointer_frame()
135 wlr_signal_emit_safe(&wlr_dev->pointer->events.frame, wlr_dev->pointer); in virtual_pointer_frame()
152 pointer->axis_event[pointer->axis].device = wlr_dev; in virtual_pointer_axis_source()
172 pointer->axis_event[pointer->axis].device = wlr_dev; in virtual_pointer_axis_stop()
[all …]
H A Dwlr_virtual_keyboard_v1.c45 struct wlr_input_device *wlr_dev) { in wlr_input_device_get_virtual_keyboard() argument
46 if (wlr_dev->impl != &input_device_impl) { in wlr_input_device_get_virtual_keyboard()
49 return (struct wlr_virtual_keyboard_v1 *)wlr_dev; in wlr_input_device_get_virtual_keyboard()
/dports/x11-toolkits/wlroots/wlroots-0.12.0/backend/headless/
H A Dinput_device.c16 bool wlr_input_device_is_headless(struct wlr_input_device *wlr_dev) { in wlr_input_device_is_headless() argument
17 return wlr_dev->impl == &input_device_impl; in wlr_input_device_is_headless()
/dports/x11-toolkits/wlroots/wlroots-0.12.0/include/wlr/types/
H A Dwlr_virtual_keyboard_v1.h45 struct wlr_input_device *wlr_dev);
/dports/x11-toolkits/wlroots/wlroots-0.12.0/backend/x11/
H A Dinput_device.c359 bool wlr_input_device_is_x11(struct wlr_input_device *wlr_dev) { in wlr_input_device_is_x11() argument
360 return wlr_dev->impl == &input_device_impl; in wlr_input_device_is_x11()