mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:03:12 +00:00
Michael von Glasow <michael AT vonglasow DOT com>
- Remove hardcoded Alt Gr behavior. - Tested with german layout and installation, patch doesn't break system, further tests are recommended. - See issue #3887 for more details. svn path=/trunk/; revision=38692
This commit is contained in:
parent
62519aa2e9
commit
ea8ef6ce87
2 changed files with 5 additions and 4 deletions
|
@ -459,7 +459,7 @@ ROSDATA KBDTABLES keyboard_layout_table = {
|
||||||
extcode0_to_vk,
|
extcode0_to_vk,
|
||||||
extcode1_to_vk,
|
extcode1_to_vk,
|
||||||
|
|
||||||
MAKELONG(0,1), /* Version 1.0 */
|
MAKELONG(1,1), /* Version 1.0 */
|
||||||
|
|
||||||
/* Ligatures -- Russian doesn't have any */
|
/* Ligatures -- Russian doesn't have any */
|
||||||
0,
|
0,
|
||||||
|
|
|
@ -213,9 +213,10 @@ static DWORD ModBits( PKBDTABLES pkKT, PBYTE KeyState )
|
||||||
ModBits |= GetShiftBit( pkKT, VK_MENU );
|
ModBits |= GetShiftBit( pkKT, VK_MENU );
|
||||||
|
|
||||||
/* Handle Alt+Gr */
|
/* Handle Alt+Gr */
|
||||||
if (KeysSet( pkKT, KeyState, VK_RMENU, 0 ) &
|
if (pkKT->fLocalFlags & 0x1)
|
||||||
KS_DOWN_BIT )
|
if (KeysSet( pkKT, KeyState, VK_RMENU, 0 ) &
|
||||||
ModBits |= GetShiftBit( pkKT, VK_CONTROL );
|
KS_DOWN_BIT)
|
||||||
|
ModBits |= GetShiftBit( pkKT, VK_CONTROL );
|
||||||
|
|
||||||
/* Deal with VK_CAPITAL */
|
/* Deal with VK_CAPITAL */
|
||||||
if (KeysSet( pkKT, KeyState, VK_CAPITAL, 0 ) & KS_LOCK_BIT)
|
if (KeysSet( pkKT, KeyState, VK_CAPITAL, 0 ) & KS_LOCK_BIT)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue