summaryrefslogtreecommitdiff
path: root/src/keycode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keycode.h')
-rw-r--r--src/keycode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/keycode.h b/src/keycode.h
index f19fe3442..300682b12 100644
--- a/src/keycode.h
+++ b/src/keycode.h
@@ -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