mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 02:20:13 +01:00
backend-rdp: Add keyboard mapping for alternate Dvorak layouts
This changeset adds three variants of the U.S. Dvorak layout to the table that is used to map a keyboard ID in the RDP backend to an Xkb configuration. This makes it possible to have these variants propagated seamlessly from an RDP client into the Wayland compositor. As the backend-rdp module requires at least version 2.3.0 of the FreeRDP library to build, the symbols for these variants is already present in include/freerdp/locale/keyboard.h, included by rdp.h here, and in libfreerdp/locale/xkb_layout_ids.c which translate the selected layout in Xkb into the keyboard ID sent over the wire for the RDP protocol. Signed-off-by: Roland Kaufmann <rlndkfmn+freerdp@gmail.com>
This commit is contained in:
parent
c9a6e2721a
commit
564f6687eb
1 changed files with 3 additions and 0 deletions
|
|
@ -1022,6 +1022,9 @@ struct rdp_to_xkb_keyboard_layout rdp_keyboards[] = {
|
|||
{KBD_IRISH, 0, 0},
|
||||
{KBD_BOSNIAN_CYRILLIC, "ba", "us"},
|
||||
{KBD_UNITED_STATES_DVORAK, "us", "dvorak"},
|
||||
{KBD_UNITED_STATES_DVORAK_FOR_LEFT_HAND, "us", "dvorak-l"},
|
||||
{KBD_UNITED_STATES_DVORAK_FOR_RIGHT_HAND, "us", "dvorak-r"},
|
||||
{KBD_UNITED_STATES_DVORAK_PROGRAMMER, "us", "dvp"},
|
||||
{KBD_PORTUGUESE_BRAZILIAN_ABNT2, "br", "abnt2"},
|
||||
{KBD_CANADIAN_MULTILINGUAL_STANDARD, "ca", "multix"},
|
||||
{KBD_GAELIC, "ie", "CloGaelach"},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue