RedrawGenericList(&ListUi);
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 */
{
RestoreGenericListUiState(&ListUi);
return DEVICE_SETTINGS_PAGE;
// return SCSI_CONTROLLER_PAGE;
}
+#endif
else
{
// switch (toupper(Ir->Event.KeyEvent.uChar.AsciiChar))