- use proper key names.

This commit is contained in:
Christoph Oelckers 2019-11-03 22:20:19 +01:00
parent 1b958a7f9f
commit c7af86bd00
2 changed files with 3 additions and 3 deletions

View file

@ -1655,8 +1655,8 @@ void Menu_Init(void)
} }
MEOS_Gamefuncs.numOptions = k; MEOS_Gamefuncs.numOptions = k;
for (i = 0; i < NUMKEYS; ++i) for (i = 0; i < NUMKEYS; ++i)
MEOSN_Keys[i] = g_keyNameTable[i]; MEOSN_Keys[i] = KB_ScanCodeToString(i);
MEOSN_Keys[NUMKEYS-1] = MenuKeyNone; MEOSN_Keys[NUMKEYS-1] = MenuKeyNone;

View file

@ -1607,7 +1607,7 @@ void Menu_Init(void)
MEOS_Gamefuncs.numOptions = k; MEOS_Gamefuncs.numOptions = k;
for (i = 0; i < NUMKEYS; ++i) for (i = 0; i < NUMKEYS; ++i)
MEOSN_Keys[i] = g_keyNameTable[i]; MEOSN_Keys[i] = KB_ScanCodeToString(i);
MEOSN_Keys[NUMKEYS-1] = MenuKeyNone; MEOSN_Keys[NUMKEYS-1] = MenuKeyNone;