X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=keys.h;h=f6b78cd0c841a385efea99dee7988d09c72530cd;hb=c9c011dcf7b2ee062e9493139b89fff99f63ea25;hp=baf1b9a16de4aa0e9f80861355608087bc2db6f9;hpb=e9ef9da90a206204b283dacd15c35bd3fd1fe5c9;p=xonotic%2Fdarkplaces.git diff --git a/keys.h b/keys.h index baf1b9a1..f6b78cd0 100644 --- a/keys.h +++ b/keys.h @@ -27,6 +27,7 @@ #ifndef __KEYS_H #define __KEYS_H +#include #include "qtypes.h" #include "qdefs.h" #include "fs.h" @@ -392,6 +393,8 @@ const char *Key_GetBind (int key, int bindmap); void Key_FindKeysForCommand (const char *command, int *keys, int numkeys, int bindmap); qbool Key_SetBindMap(int fg, int bg); void Key_GetBindMap(int *fg, int *bg); +const char *Key_KeynumToString (int keynum, char *buf, size_t buflength); +int Key_StringToKeynum (const char *str); #endif // __KEYS_H