mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[USETUP] Implement handling Home/End keys in Boot Loader Page (#1265)
This commit is contained in:
parent
d0d909245f
commit
8d15720b31
1 changed files with 18 additions and 0 deletions
|
@ -4019,6 +4019,24 @@ BootLoaderPage(PINPUT_RECORD Ir)
|
|||
|
||||
CONSOLE_InvertTextXY(8, Line, 60, 1);
|
||||
}
|
||||
else if ((Ir->Event.KeyEvent.uChar.AsciiChar == 0x00) &&
|
||||
(Ir->Event.KeyEvent.wVirtualKeyCode == VK_HOME)) /* HOME */
|
||||
{
|
||||
CONSOLE_NormalTextXY(8, Line, 60, 1);
|
||||
|
||||
Line = 12;
|
||||
|
||||
CONSOLE_InvertTextXY(8, Line, 60, 1);
|
||||
}
|
||||
else if ((Ir->Event.KeyEvent.uChar.AsciiChar == 0x00) &&
|
||||
(Ir->Event.KeyEvent.wVirtualKeyCode == VK_END)) /* END */
|
||||
{
|
||||
CONSOLE_NormalTextXY(8, Line, 60, 1);
|
||||
|
||||
Line = 15;
|
||||
|
||||
CONSOLE_InvertTextXY(8, Line, 60, 1);
|
||||
}
|
||||
else if ((Ir->Event.KeyEvent.uChar.AsciiChar == 0x00) &&
|
||||
(Ir->Event.KeyEvent.wVirtualKeyCode == VK_F3)) /* F3 */
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue