mirror of
https://github.com/reactos/reactos.git
synced 2025-02-20 15:35:04 +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,
|
||||
extcode1_to_vk,
|
||||
|
||||
MAKELONG(0,1), /* Version 1.0 */
|
||||
MAKELONG(1,1), /* Version 1.0 */
|
||||
|
||||
/* Ligatures -- Russian doesn't have any */
|
||||
0,
|
||||
|
|
|
@ -213,9 +213,10 @@ static DWORD ModBits( PKBDTABLES pkKT, PBYTE KeyState )
|
|||
ModBits |= GetShiftBit( pkKT, VK_MENU );
|
||||
|
||||
/* Handle Alt+Gr */
|
||||
if (KeysSet( pkKT, KeyState, VK_RMENU, 0 ) &
|
||||
KS_DOWN_BIT )
|
||||
ModBits |= GetShiftBit( pkKT, VK_CONTROL );
|
||||
if (pkKT->fLocalFlags & 0x1)
|
||||
if (KeysSet( pkKT, KeyState, VK_RMENU, 0 ) &
|
||||
KS_DOWN_BIT)
|
||||
ModBits |= GetShiftBit( pkKT, VK_CONTROL );
|
||||
|
||||
/* Deal with VK_CAPITAL */
|
||||
if (KeysSet( pkKT, KeyState, VK_CAPITAL, 0 ) & KS_LOCK_BIT)
|
||||
|
|
Loading…
Reference in a new issue