winex11.drv: Added mapping for Unicode keysyms in ToUnicodeEx.
This commit is contained in:
parent
4026dfa8f4
commit
187d52bc2d
|
@ -2447,6 +2447,15 @@ INT X11DRV_ToUnicodeEx(UINT virtKey, UINT scanCode, LPBYTE lpKeyState,
|
||||||
{
|
{
|
||||||
MultiByteToWideChar(CP_UNIXCP, 0, &dead_char, 1, bufW, bufW_size);
|
MultiByteToWideChar(CP_UNIXCP, 0, &dead_char, 1, bufW, bufW_size);
|
||||||
ret = -1;
|
ret = -1;
|
||||||
|
goto found;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (keysym >= 0x01000100 && keysym <= 0x0100ffff)
|
||||||
|
{
|
||||||
|
/* Unicode direct mapping */
|
||||||
|
bufW[0] = keysym & 0xffff;
|
||||||
|
ret = 1;
|
||||||
|
goto found;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue