mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-21 00:41:05 +00:00
*Really* support K_CAPSLOCK, K_COMMAND, K_POWER, K_PAUSE
we had constants for them in keyboard.h, but no mappings to name strings in keynames[] in cl_keyboard.c, so they couldn't be bound.
This commit is contained in:
parent
1a9c8704c7
commit
4e547feb2c
1 changed files with 6 additions and 0 deletions
|
@ -68,6 +68,12 @@ keyname_t keynames[] = {
|
|||
{"ESCAPE", K_ESCAPE},
|
||||
{"SPACE", K_SPACE},
|
||||
{"BACKSPACE", K_BACKSPACE},
|
||||
|
||||
{"COMMAND", K_COMMAND},
|
||||
{"CAPSLOCK", K_CAPSLOCK},
|
||||
{"POWER", K_POWER},
|
||||
{"PAUSE", K_PAUSE},
|
||||
|
||||
{"UPARROW", K_UPARROW},
|
||||
{"DOWNARROW", K_DOWNARROW},
|
||||
{"LEFTARROW", K_LEFTARROW},
|
||||
|
|
Loading…
Reference in a new issue