summaryrefslogtreecommitdiff
path: root/src/keycode.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-07-22 21:53:50 +0200
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-22 21:54:26 +0200
commit6c2d95f8686a7c08ed8648aa111accef50f58f73 (patch)
tree772b88d67438e245a955a682f8ee8b29af5396ee /src/keycode.h
parent2452ce67f4e283a72b7845d6bce43d7d26b85fc1 (diff)
downloadminetest-6c2d95f8686a7c08ed8648aa111accef50f58f73.tar.gz
minetest-6c2d95f8686a7c08ed8648aa111accef50f58f73.tar.bz2
minetest-6c2d95f8686a7c08ed8648aa111accef50f58f73.zip
* key change menu now saving immediately
Diffstat (limited to 'src/keycode.h')
-rw-r--r--src/keycode.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/keycode.h b/src/keycode.h
index 9c62004d8..300682b12 100644
--- a/src/keycode.h
+++ b/src/keycode.h
@@ -24,11 +24,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#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);
-std::string keycode_to_keyname(s32 keycode);
-void clearCache();
+
+// Clear fast lookup cache
+void clearKeyCache();
#endif