1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

win32u: Allow KBDTABLES conversion from CTRL + ALT to WCHAR.

This commit is contained in:
Rémi Bernon 2023-10-15 09:58:18 +02:00 committed by Alexandre Julliard
parent 027f73fcd5
commit ed9f1d0715
2 changed files with 5 additions and 1 deletions

View File

@ -514,7 +514,7 @@ static WCHAR kbd_tables_vkey_to_wchar( const KBDTABLES *tables, UINT vkey, const
ctrl = state[VK_CONTROL] & 0x80;
caps = state[VK_CAPITAL] & 1;
if (ctrl && alt) return WCH_NONE;
if (ctrl && alt && !(tables->fLocaleFlags & KLLF_ALTGR)) return WCH_NONE;
if (!ctrl && vkey == VK_ESCAPE) return VK_ESCAPE;
if (ctrl && !alt)
{

View File

@ -40,6 +40,10 @@
#define KANALOK 0x08
#define GRPSELTAP 0x80
#define KLLF_ALTGR 0x0001
#define KLLF_SHIFTLOCK 0x0002
#define KLLF_LRM_RLM 0x0004
typedef struct
{
BYTE Vk;