]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/keycode.h
Always return from non-void functions
[dragonfireclient.git] / src / keycode.h
index f19fe344282c77c8f999b2ddffe7cbb286a9d38b..300682b121d7fded978b9638bdfebde227b46bfe 100644 (file)
@@ -21,11 +21,16 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #define KEYCODE_HEADER
 
 #include "common_irrlicht.h"
+#include <string>
 
 irr::EKEY_CODE keyname_to_keycode(const char *name);
+std::string keycode_to_keyname(s32 keycode);
 
 // Key configuration getter
 irr::EKEY_CODE getKeySetting(const char *settingname);
 
+// Clear fast lookup cache
+void clearKeyCache();
+
 #endif