mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Keyboard driver should not translate \r to \n
svn path=/trunk/; revision=1553
This commit is contained in:
parent
f353289fba
commit
3f694e507f
1 changed files with 2 additions and 2 deletions
|
@ -314,7 +314,7 @@ static BYTE VirtualToAscii(WORD keyCode,BOOL isDown)
|
||||||
case VK_BACK:
|
case VK_BACK:
|
||||||
return 127;
|
return 127;
|
||||||
case VK_RETURN:
|
case VK_RETURN:
|
||||||
return 10;
|
return '\r';
|
||||||
case 219: /* [ */
|
case 219: /* [ */
|
||||||
if (ctrlKeyState & SHIFT_PRESSED)
|
if (ctrlKeyState & SHIFT_PRESSED)
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -370,7 +370,7 @@ static BYTE VirtualToAscii(WORD keyCode,BOOL isDown)
|
||||||
case VK_SPACE:
|
case VK_SPACE:
|
||||||
return ' ';
|
return ' ';
|
||||||
case VK_RETURN:
|
case VK_RETURN:
|
||||||
return '\n';
|
return '\r';
|
||||||
case VK_BACK:
|
case VK_BACK:
|
||||||
return 8;
|
return 8;
|
||||||
case VK_TAB:
|
case VK_TAB:
|
||||||
|
|
Loading…
Reference in a new issue