diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-08-13 18:16:49 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-08-22 13:02:08 +0200 |
commit | 53eedd3ba4029d7f4154477c3492748bb4f6e4e5 (patch) | |
tree | ae00497ecdbc01cd3494e045070b273e163a2dd0 /src/defaultsettings.cpp | |
parent | 42134bb49eaa5116838a2c188c432c8b9420dff8 (diff) | |
download | minetest-53eedd3ba4029d7f4154477c3492748bb4f6e4e5.tar.gz minetest-53eedd3ba4029d7f4154477c3492748bb4f6e4e5.tar.bz2 minetest-53eedd3ba4029d7f4154477c3492748bb4f6e4e5.zip |
Introduce hotkey for calling up a command window
This is just a chat window with the / text pre-loaded.
Diffstat (limited to 'src/defaultsettings.cpp')
-rw-r--r-- | src/defaultsettings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 265997857..8438bf4f5 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -39,6 +39,7 @@ void set_default_settings() g_settings.setDefault("keymap_sneak", "KEY_LSHIFT"); g_settings.setDefault("keymap_inventory", "KEY_KEY_I"); g_settings.setDefault("keymap_chat", "KEY_KEY_T"); + g_settings.setDefault("keymap_cmd", "/"); g_settings.setDefault("keymap_rangeselect", "KEY_KEY_R"); g_settings.setDefault("keymap_freemove", "KEY_KEY_K"); g_settings.setDefault("keymap_fastmove", "KEY_KEY_J"); |