win32u: Allow KBDTABLES conversion from CTRL + ALT to WCHAR.
This commit is contained in:
parent
027f73fcd5
commit
ed9f1d0715
2 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue