Enable menu (X,O,T is ESCAPE, log is RETURN)

This is temporary, the keymap will likely be changed later.
This commit is contained in:
Lephenixnoir 2021-07-30 17:36:56 +02:00
parent 1ada53589f
commit b8eed6f5d0
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
2 changed files with 2 additions and 1 deletions

1
README
View File

@ -13,7 +13,6 @@ TODO:
-> Some bad textures here and there
-> Supply more VRAM memory to internal allocator
-> Level selector
-> Difficulty selector
-> Rate-limit the game when overclocking
-> Run key?
-> FPS counter on-screen

View File

@ -309,6 +309,8 @@ int KeycodeToDoomKey(int code)
case KEYCODE_OPTN: return KEY_PAUSE;
case KEYCODE_0: return KEY_SLEFTARROW;
case KEYCODE_DOT: return KEY_SRIGHTARROW;
case KEYCODE_XOT: return KEY_ESCAPE;
case KEYCODE_LOG: return KEY_ENTER;
default: return -1;
}
}