Commit ed9f1d07 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

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

parent 027f73fc
...@@ -514,7 +514,7 @@ static WCHAR kbd_tables_vkey_to_wchar( const KBDTABLES *tables, UINT vkey, const ...@@ -514,7 +514,7 @@ static WCHAR kbd_tables_vkey_to_wchar( const KBDTABLES *tables, UINT vkey, const
ctrl = state[VK_CONTROL] & 0x80; ctrl = state[VK_CONTROL] & 0x80;
caps = state[VK_CAPITAL] & 1; 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 && vkey == VK_ESCAPE) return VK_ESCAPE;
if (ctrl && !alt) if (ctrl && !alt)
{ {
......
...@@ -40,6 +40,10 @@ ...@@ -40,6 +40,10 @@
#define KANALOK 0x08 #define KANALOK 0x08
#define GRPSELTAP 0x80 #define GRPSELTAP 0x80
#define KLLF_ALTGR 0x0001
#define KLLF_SHIFTLOCK 0x0002
#define KLLF_LRM_RLM 0x0004
typedef struct typedef struct
{ {
BYTE Vk; BYTE Vk;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment