mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:42:56 +00:00
[USETUP] Partial revert of 8b94515b
for the ESCAPE key in the UpgradeRepairPage() screen.
The AsciiChar of the ESCAPE key should be 0x1B instead of zero; however this is not the case due to the hacked keyboard layout currently being used. This will be fixed later ...
This commit is contained in:
parent
06bff99edb
commit
68182b2a52
1 changed files with 19 additions and 0 deletions
|
@ -1050,8 +1050,26 @@ UpgradeRepairPage(PINPUT_RECORD Ir)
|
||||||
RedrawGenericList(&ListUi);
|
RedrawGenericList(&ListUi);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#if 1
|
||||||
|
/* TODO: Temporarily kept until correct keyboard layout is in place.
|
||||||
|
* (Actual AsciiChar of ESCAPE should be 0x1B instead of 0.)
|
||||||
|
* Addendum to commit 8b94515b.
|
||||||
|
*/
|
||||||
|
case VK_ESCAPE: /* ESC */
|
||||||
|
{
|
||||||
|
RestoreGenericListUiState(&ListUi);
|
||||||
|
// return nextPage; // prevPage;
|
||||||
|
|
||||||
|
// return INSTALL_INTRO_PAGE;
|
||||||
|
return DEVICE_SETTINGS_PAGE;
|
||||||
|
// return SCSI_CONTROLLER_PAGE;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
|
/* TODO: Restore this once correct keyboard layout is in place. */
|
||||||
else if (Ir->Event.KeyEvent.wVirtualKeyCode == VK_ESCAPE) /* ESC */
|
else if (Ir->Event.KeyEvent.wVirtualKeyCode == VK_ESCAPE) /* ESC */
|
||||||
{
|
{
|
||||||
RestoreGenericListUiState(&ListUi);
|
RestoreGenericListUiState(&ListUi);
|
||||||
|
@ -1061,6 +1079,7 @@ UpgradeRepairPage(PINPUT_RECORD Ir)
|
||||||
return DEVICE_SETTINGS_PAGE;
|
return DEVICE_SETTINGS_PAGE;
|
||||||
// return SCSI_CONTROLLER_PAGE;
|
// return SCSI_CONTROLLER_PAGE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// switch (toupper(Ir->Event.KeyEvent.uChar.AsciiChar))
|
// switch (toupper(Ir->Event.KeyEvent.uChar.AsciiChar))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue