2017-08-30 20:30:47 +02:00
|
|
|
lib_wlr_types = static_library(
|
|
|
|
'wlr_types',
|
|
|
|
files(
|
2018-05-02 10:07:22 +02: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 11:03:26 +02:00
|
|
|
'seat/wlr_seat_keyboard.c',
|
|
|
|
'seat/wlr_seat_pointer.c',
|
|
|
|
'seat/wlr_seat_touch.c',
|
|
|
|
'seat/wlr_seat.c',
|
2018-09-29 15:38:06 +02: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 13:49:45 +02: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 15:38:06 +02: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 04:00:04 +02:00
|
|
|
'wlr_box.c',
|
2018-06-14 09:51:38 +02:00
|
|
|
'wlr_buffer.c',
|
2017-10-22 04:00:04 +02:00
|
|
|
'wlr_compositor.c',
|
|
|
|
'wlr_cursor.c',
|
2018-12-07 15:50:51 +01:00
|
|
|
'wlr_data_control_v1.c',
|
2018-05-22 18:38:05 +02:00
|
|
|
'wlr_export_dmabuf_v1.c',
|
2018-08-25 21:27:11 +02:00
|
|
|
'wlr_foreign_toplevel_management_v1.c',
|
2019-01-06 12:08:45 +01:00
|
|
|
'wlr_fullscreen_shell_v1.c',
|
2018-07-22 14:23:32 +02:00
|
|
|
'wlr_gamma_control_v1.c',
|
2018-11-28 16:37:35 +01:00
|
|
|
'wlr_gtk_primary_selection.c',
|
2018-03-15 09:11:03 +01:00
|
|
|
'wlr_idle_inhibit_v1.c',
|
2018-01-07 20:41:43 +01:00
|
|
|
'wlr_idle.c',
|
2017-08-30 20:30:47 +02:00
|
|
|
'wlr_input_device.c',
|
2018-04-03 16:50:16 +02:00
|
|
|
'wlr_input_inhibitor.c',
|
2018-08-23 11:38:39 +02:00
|
|
|
'wlr_input_method_v2.c',
|
2017-08-30 20:30:47 +02: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 20:18:41 +01:00
|
|
|
'wlr_keyboard_group.c',
|
2018-09-14 19:32:33 +02:00
|
|
|
'wlr_layer_shell_v1.c',
|
2018-07-19 22:50:00 +02:00
|
|
|
'wlr_linux_dmabuf_v1.c',
|
2017-10-22 04:00:04 +02:00
|
|
|
'wlr_list.c',
|
2018-03-15 09:11:03 +01:00
|
|
|
'wlr_matrix.c',
|
2018-02-11 12:49:30 +01:00
|
|
|
'wlr_output_damage.c',
|
2017-08-30 20:30:47 +02:00
|
|
|
'wlr_output_layout.c',
|
2019-03-07 17:51:43 +01:00
|
|
|
'wlr_output_management_v1.c',
|
2018-02-12 21:29:23 +01:00
|
|
|
'wlr_output.c',
|
2018-08-10 18:19:16 +02:00
|
|
|
'wlr_pointer_constraints_v1.c',
|
2019-01-25 23:51:38 +01:00
|
|
|
'wlr_pointer_gestures_v1.c',
|
2018-09-29 15:38:06 +02:00
|
|
|
'wlr_pointer.c',
|
|
|
|
'wlr_presentation_time.c',
|
2019-01-24 12:04:41 +01:00
|
|
|
'wlr_primary_selection_v1.c',
|
2018-11-28 16:37:35 +01:00
|
|
|
'wlr_primary_selection.c',
|
2017-08-30 20:30:47 +02:00
|
|
|
'wlr_region.c',
|
2018-09-28 01:13:52 +02:00
|
|
|
'wlr_relative_pointer_v1.c',
|
2019-01-06 12:08:45 +01:00
|
|
|
'wlr_screencopy_v1.c',
|
2017-10-24 21:56:18 +02:00
|
|
|
'wlr_server_decoration.c',
|
2017-08-30 20:30:47 +02:00
|
|
|
'wlr_surface.c',
|
2018-11-15 00:24:55 +01:00
|
|
|
'wlr_switch.c',
|
2017-08-30 20:30:47 +02:00
|
|
|
'wlr_tablet_pad.c',
|
|
|
|
'wlr_tablet_tool.c',
|
2018-03-29 19:41:33 +02:00
|
|
|
'wlr_text_input_v3.c',
|
2017-08-30 20:30:47 +02:00
|
|
|
'wlr_touch.c',
|
2018-05-24 19:46:54 +02:00
|
|
|
'wlr_virtual_keyboard_v1.c',
|
2017-11-12 11:10:56 +01:00
|
|
|
'wlr_xcursor_manager.c',
|
2018-06-10 12:15:26 +02:00
|
|
|
'wlr_xdg_decoration_v1.c',
|
2018-09-14 19:29:08 +02:00
|
|
|
'wlr_xdg_output_v1.c',
|
2017-08-30 20:30:47 +02:00
|
|
|
),
|
|
|
|
include_directories: wlr_inc,
|
2019-01-29 19:33:38 +01:00
|
|
|
dependencies: [
|
|
|
|
drm.partial_dependency(compile_args: true), # <drm_fourcc.h>
|
|
|
|
pixman,
|
|
|
|
wayland_server,
|
|
|
|
wlr_protos,
|
|
|
|
xkbcommon,
|
|
|
|
],
|
2017-08-30 20:30:47 +02:00
|
|
|
)
|