GUACAMOLE-518: Map both Right Alt and AltGr to Windows' Right Alt.

Windows expects the Right Alt key to be sent for AltGr.
This commit is contained in:
Michael Jumper 2020-06-23 21:46:26 -07:00
parent 5f5080994f
commit 337f3bbff2
2 changed files with 2 additions and 0 deletions

View File

@ -619,6 +619,7 @@ void guac_rdp_keyboard_update_modifiers(guac_rdp_keyboard* keyboard,
guac_rdp_keyboard_update_keysym(keyboard, 0xFE03, 1, GUAC_RDP_KEY_SOURCE_SYNTHETIC);
}
else if (clear_flags & GUAC_RDP_KEYMAP_MODIFIER_ALTGR) {
guac_rdp_keyboard_update_keysym(keyboard, 0xFFEA, 0, GUAC_RDP_KEY_SOURCE_SYNTHETIC);
guac_rdp_keyboard_update_keysym(keyboard, 0xFE03, 0, GUAC_RDP_KEY_SOURCE_SYNTHETIC);
}

View File

@ -84,6 +84,7 @@ map 0x1D ~ 0xffe3 # Control_L
map +ext 0x1D ~ 0xffe4 # Control_R
map 0x38 ~ 0xffe9 # Alt_L
map +ext 0x38 ~ 0xffea # Alt_R
map +ext 0x38 ~ 0xfe03 # AltGr
map +ext 0x5B ~ 0xffeb # Super_L
map +ext 0x5C ~ 0xffec # Super_R
map +ext 0x5D ~ 0xff67 # Menu