/* Translate raw data into Unicode (according to different encode), and translate Unicode into key information. (according to different standard). */
VOID TranslateRawDataToEfiKey(IN TERMINAL_DEV *TerminalDevice)
/* Translate raw data into Unicode (according to different encode), and translate Unicode into key information. (according to different standard). */
VOID TranslateRawDataToEfiKey(IN TERMINAL_DEV *TerminalDevice)
{
  switch (TerminalDevice->TerminalType) {
    case TerminalTypePcAnsi:
    case TerminalTypeVt100:
    case TerminalTypeVt100Plus:
    case TerminalTypeTtyTerm:
    case TerminalTypeLinux:
    case TerminalTypeXtermR6:
    case TerminalTypeVt400:
    case TerminalTypeSCO:
      AnsiRawDataToUnicode (TerminalDevice);
      UnicodeToEfiKey (TerminalDevice);
      break;
    case TerminalTypeVtUtf8:
      VTUTF8RawDataToUnicode (TerminalDevice);
      UnicodeToEfiKey (TerminalDevice);
      break;
  }
}