mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 22:55:58 +01:00
f2d3b1000f
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 |
||
---|---|---|
.. | ||
meson.build | ||
wlr_box.h | ||
wlr_buffer.h | ||
wlr_compositor.h | ||
wlr_cursor.h | ||
wlr_data_control_v1.h | ||
wlr_data_device.h | ||
wlr_export_dmabuf_v1.h | ||
wlr_foreign_toplevel_management_v1.h | ||
wlr_fullscreen_shell_v1.h | ||
wlr_gamma_control_v1.h | ||
wlr_gtk_primary_selection.h | ||
wlr_idle.h | ||
wlr_idle_inhibit_v1.h | ||
wlr_input_device.h | ||
wlr_input_inhibitor.h | ||
wlr_input_method_v2.h | ||
wlr_keyboard.h | ||
wlr_keyboard_group.h | ||
wlr_layer_shell_v1.h | ||
wlr_linux_dmabuf_v1.h | ||
wlr_list.h | ||
wlr_matrix.h | ||
wlr_output.h | ||
wlr_output_damage.h | ||
wlr_output_layout.h | ||
wlr_output_management_v1.h | ||
wlr_pointer.h | ||
wlr_pointer_constraints_v1.h | ||
wlr_pointer_gestures_v1.h | ||
wlr_presentation_time.h | ||
wlr_primary_selection.h | ||
wlr_primary_selection_v1.h | ||
wlr_region.h | ||
wlr_relative_pointer_v1.h | ||
wlr_screencopy_v1.h | ||
wlr_seat.h | ||
wlr_server_decoration.h | ||
wlr_surface.h | ||
wlr_switch.h | ||
wlr_tablet_pad.h | ||
wlr_tablet_tool.h | ||
wlr_tablet_v2.h | ||
wlr_text_input_v3.h | ||
wlr_touch.h | ||
wlr_virtual_keyboard_v1.h | ||
wlr_xcursor_manager.h | ||
wlr_xdg_decoration_v1.h | ||
wlr_xdg_output_v1.h | ||
wlr_xdg_shell.h | ||
wlr_xdg_shell_v6.h |