diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-10-17 20:40:55 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-10-17 20:40:55 +0300 |
commit | 64c4d00693212a846208b3bdf5b5a877ebbd20cf (patch) | |
tree | 42719d431c814235dd5cc08553f45030ab5b2a83 /src/defaultsettings.cpp | |
parent | 6661d9be1ade13934b3fd62bc60b0484b204dbd6 (diff) | |
download | minetest-64c4d00693212a846208b3bdf5b5a877ebbd20cf.tar.gz minetest-64c4d00693212a846208b3bdf5b5a877ebbd20cf.tar.bz2 minetest-64c4d00693212a846208b3bdf5b5a877ebbd20cf.zip |
F2 toggles profiler display in client
Diffstat (limited to 'src/defaultsettings.cpp')
-rw-r--r-- | src/defaultsettings.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index a3a833327..bb0431125 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -36,6 +36,7 @@ void set_default_settings(Settings *settings) settings->setDefault("keymap_jump", "KEY_SPACE"); settings->setDefault("keymap_sneak", "KEY_LSHIFT"); settings->setDefault("keymap_inventory", "KEY_KEY_I"); + settings->setDefault("keymap_special1", "KEY_KEY_E"); settings->setDefault("keymap_chat", "KEY_KEY_T"); settings->setDefault("keymap_cmd", "/"); settings->setDefault("keymap_rangeselect", "KEY_KEY_R"); @@ -43,8 +44,8 @@ void set_default_settings(Settings *settings) settings->setDefault("keymap_fastmove", "KEY_KEY_J"); settings->setDefault("keymap_frametime_graph", "KEY_F1"); settings->setDefault("keymap_screenshot", "KEY_F12"); + settings->setDefault("keymap_toggle_profiler", "KEY_F2"); // Some (temporary) keys for debugging - settings->setDefault("keymap_special1", "KEY_KEY_E"); settings->setDefault("keymap_print_debug_stacks", "KEY_KEY_P"); settings->setDefault("wanted_fps", "30"); |