Author: rharabien Date: Wed Oct 5 18:11:21 2011 New Revision: 54013
URL: http://svn.reactos.org/svn/reactos?rev=54013&view=rev Log: [KBDGR] - 1, 4, 5 keys should support CAPSLOCK. See issue #5296 for more details.
Modified: trunk/reactos/dll/keyboard/kbdgr/kbdgr.c
Modified: trunk/reactos/dll/keyboard/kbdgr/kbdgr.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/keyboard/kbdgr/kbdgr.c?... ============================================================================== --- trunk/reactos/dll/keyboard/kbdgr/kbdgr.c [iso-8859-1] (original) +++ trunk/reactos/dll/keyboard/kbdgr/kbdgr.c [iso-8859-1] Wed Oct 5 18:11:21 2011 @@ -165,10 +165,10 @@ { 0xff, 0, {'^', WCH_NONE} }, // FIXME - why doesn't this work? /* Normal vs Shifted */ /* The numbers */ - { '1', 0, {'1', '!'} }, + { '1', CAPLOK, {'1', '!'} }, /* Ctrl-2 generates NUL */ - { '4', 0, {'4', '$'} }, - { '5', 0, {'5', '%'} }, + { '4', CAPLOK, {'4', '$'} }, + { '5', CAPLOK, {'5', '%'} },
{ VK_OEM_6, 0, {WCH_DEAD, WCH_DEAD} }, { 0xff, 0, {0xb4, '`'} }, @@ -215,7 +215,7 @@ };
ROSDATA VK_TO_WCHARS3 key_to_chars_3mod[] = { - /* Normal, Shifted, Ctrl */ + /* Normal, Shifted, Ctrl+Alt */ /* Legacy (telnet-style) ascii escapes */ { '3', CAPLOK, {'3', 0xa7, 0xb3} }, { '7', CAPLOK, {'7', '/', '{'} },