*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:
Daniel Gibson 2015-05-10 02:32:27 +02:00
parent 1a9c8704c7
commit 4e547feb2c

View file

@ -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},