X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=keys.h;h=f6b78cd0c841a385efea99dee7988d09c72530cd;hp=ea104f1dcdcfc6e54f05fe358c7369a25977b3d0;hb=4d34e0a632cbc401712f46e10bb9864438b0881f;hpb=0a05c446ba26bd5897645a37ceec8646c5bc93eb diff --git a/keys.h b/keys.h index ea104f1d..f6b78cd0 100644 --- a/keys.h +++ b/keys.h @@ -27,7 +27,11 @@ #ifndef __KEYS_H #define __KEYS_H +#include #include "qtypes.h" +#include "qdefs.h" +#include "fs.h" +#include "cmd.h" // // these are the key numbers that should be passed to Key_Event @@ -389,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