2017-08-30 18:30:47 +00:00
|
|
|
lib_wlr_types = static_library(
|
|
|
|
'wlr_types',
|
|
|
|
files(
|
2018-05-02 08:07:22 +00:00
|
|
|
'data_device/wlr_data_device.c',
|
|
|
|
'data_device/wlr_data_offer.c',
|
|
|
|
'data_device/wlr_data_source.c',
|
|
|
|
'data_device/wlr_drag.c',
|
2018-05-02 09:03:26 +00:00
|
|
|
'seat/wlr_seat_keyboard.c',
|
|
|
|
'seat/wlr_seat_pointer.c',
|
|
|
|
'seat/wlr_seat_touch.c',
|
|
|
|
'seat/wlr_seat.c',
|
2018-09-29 13:38:06 +00:00
|
|
|
'tablet_v2/wlr_tablet_v2_pad.c',
|
|
|
|
'tablet_v2/wlr_tablet_v2_tablet.c',
|
|
|
|
'tablet_v2/wlr_tablet_v2_tool.c',
|
|
|
|
'tablet_v2/wlr_tablet_v2.c',
|
2018-05-13 11:49:45 +00:00
|
|
|
'xdg_shell_v6/wlr_xdg_popup_v6.c',
|
|
|
|
'xdg_shell_v6/wlr_xdg_positioner_v6.c',
|
|
|
|
'xdg_shell_v6/wlr_xdg_shell_v6.c',
|
|
|
|
'xdg_shell_v6/wlr_xdg_surface_v6.c',
|
|
|
|
'xdg_shell_v6/wlr_xdg_toplevel_v6.c',
|
2018-09-29 13:38:06 +00:00
|
|
|
'xdg_shell/wlr_xdg_popup.c',
|
|
|
|
'xdg_shell/wlr_xdg_positioner.c',
|
|
|
|
'xdg_shell/wlr_xdg_shell.c',
|
|
|
|
'xdg_shell/wlr_xdg_surface.c',
|
|
|
|
'xdg_shell/wlr_xdg_toplevel.c',
|
2017-10-22 02:00:04 +00:00
|
|
|
'wlr_box.c',
|
2018-06-14 07:51:38 +00:00
|
|
|
'wlr_buffer.c',
|
2017-10-22 02:00:04 +00:00
|
|
|
'wlr_compositor.c',
|
|
|
|
'wlr_cursor.c',
|
2018-12-07 14:50:51 +00:00
|
|
|
'wlr_data_control_v1.c',
|
2018-05-22 16:38:05 +00:00
|
|
|
'wlr_export_dmabuf_v1.c',
|
2018-08-25 19:27:11 +00:00
|
|
|
'wlr_foreign_toplevel_management_v1.c',
|
2019-01-06 11:08:45 +00:00
|
|
|
'wlr_fullscreen_shell_v1.c',
|
2018-07-22 12:23:32 +00:00
|
|
|
'wlr_gamma_control_v1.c',
|
2018-11-28 15:37:35 +00:00
|
|
|
'wlr_gtk_primary_selection.c',
|
2018-03-15 08:11:03 +00:00
|
|
|
'wlr_idle_inhibit_v1.c',
|
2018-01-07 19:41:43 +00:00
|
|
|
'wlr_idle.c',
|
2017-08-30 18:30:47 +00:00
|
|
|
'wlr_input_device.c',
|
2018-04-03 14:50:16 +00:00
|
|
|
'wlr_input_inhibitor.c',
|
2018-08-23 09:38:39 +00:00
|
|
|
'wlr_input_method_v2.c',
|
2017-08-30 18:30:47 +00:00
|
|
|
'wlr_keyboard.c',
|
Introduce wlr_keyboard_group
A wlr_keyboard_group allows for multiple keyboard devices to be
combined into one logical keyboard. Each keyboard device can only be
added to one keyboard group. This helps with the situation where one
physical keyboard is exposed as multiple keyboard devices. It is up to
the compositors on how they group keyboards together, if at all.
Since a wlr_keyboard_group is one logical keyboard, the keys are a set.
This means that if a key is pressed on multiple keyboard devices, the
key event will only be emitted once, but the internal state will count
the number of devices that the key is pressed on. Likewise, the key
release will not be emitted until the key is released from all devices.
If the compositor wants access to which keys are pressed and released
on each keyboard device, the events for those devices can be listened
to, as they currently are, in addition to the group keyboard's events.
Also, all keyboard devices in the group must share the same keymap. If
the keymap's differ, the keyboard device will not be able to be added
to the group. Once in the group, if the keymap or effective layout for
one keyboard device changes, it will be synced to all keyboard devices
in the group. The repeat info and keyboard modifiers are also synced
2019-11-03 19:18:41 +00:00
|
|
|
'wlr_keyboard_group.c',
|
2018-09-14 17:32:33 +00:00
|
|
|
'wlr_layer_shell_v1.c',
|
2018-07-19 20:50:00 +00:00
|
|
|
'wlr_linux_dmabuf_v1.c',
|
2017-10-22 02:00:04 +00:00
|
|
|
'wlr_list.c',
|
2018-03-15 08:11:03 +00:00
|
|
|
'wlr_matrix.c',
|
2018-02-11 11:49:30 +00:00
|
|
|
'wlr_output_damage.c',
|
2017-08-30 18:30:47 +00:00
|
|
|
'wlr_output_layout.c',
|
2019-03-07 16:51:43 +00:00
|
|
|
'wlr_output_management_v1.c',
|
2018-02-12 20:29:23 +00:00
|
|
|
'wlr_output.c',
|
2018-08-10 16:19:16 +00:00
|
|
|
'wlr_pointer_constraints_v1.c',
|
2019-01-25 22:51:38 +00:00
|
|
|
'wlr_pointer_gestures_v1.c',
|
2018-09-29 13:38:06 +00:00
|
|
|
'wlr_pointer.c',
|
|
|
|
'wlr_presentation_time.c',
|
2019-01-24 11:04:41 +00:00
|
|
|
'wlr_primary_selection_v1.c',
|
2018-11-28 15:37:35 +00:00
|
|
|
'wlr_primary_selection.c',
|
2017-08-30 18:30:47 +00:00
|
|
|
'wlr_region.c',
|
2018-09-27 23:13:52 +00:00
|
|
|
'wlr_relative_pointer_v1.c',
|
2019-01-06 11:08:45 +00:00
|
|
|
'wlr_screencopy_v1.c',
|
2017-10-24 19:56:18 +00:00
|
|
|
'wlr_server_decoration.c',
|
2017-08-30 18:30:47 +00:00
|
|
|
'wlr_surface.c',
|
2018-11-14 23:24:55 +00:00
|
|
|
'wlr_switch.c',
|
2017-08-30 18:30:47 +00:00
|
|
|
'wlr_tablet_pad.c',
|
|
|
|
'wlr_tablet_tool.c',
|
2018-03-29 17:41:33 +00:00
|
|
|
'wlr_text_input_v3.c',
|
2017-08-30 18:30:47 +00:00
|
|
|
'wlr_touch.c',
|
2018-05-24 17:46:54 +00:00
|
|
|
'wlr_virtual_keyboard_v1.c',
|
2017-11-12 10:10:56 +00:00
|
|
|
'wlr_xcursor_manager.c',
|
2018-06-10 10:15:26 +00:00
|
|
|
'wlr_xdg_decoration_v1.c',
|
2018-09-14 17:29:08 +00:00
|
|
|
'wlr_xdg_output_v1.c',
|
2017-08-30 18:30:47 +00:00
|
|
|
),
|
|
|
|
include_directories: wlr_inc,
|
2019-01-29 18:33:38 +00:00
|
|
|
dependencies: [
|
|
|
|
drm.partial_dependency(compile_args: true), # <drm_fourcc.h>
|
|
|
|
pixman,
|
|
|
|
wayland_server,
|
|
|
|
wlr_protos,
|
|
|
|
xkbcommon,
|
|
|
|
],
|
2017-08-30 18:30:47 +00:00
|
|
|
)
|