https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8d15720b3125ad95b52db3...
commit 8d15720b3125ad95b52db347f0edac9c85c49e82 Author: Yaroslav Kibysh yanet.prod@gmail.com AuthorDate: Sat Jan 19 19:44:13 2019 +0200 Commit: Hermès BÉLUSCA - MAÏTO hermes.belusca-maito@reactos.org CommitDate: Sat Jan 19 18:44:13 2019 +0100
[USETUP] Implement handling Home/End keys in Boot Loader Page (#1265) --- base/setup/usetup/usetup.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
diff --git a/base/setup/usetup/usetup.c b/base/setup/usetup/usetup.c index 3199cba9b7..5aeb33697c 100644 --- a/base/setup/usetup/usetup.c +++ b/base/setup/usetup/usetup.c @@ -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 */ {