From: Perttu Ahola Date: Thu, 19 May 2011 19:59:10 +0000 (+0300) Subject: change default sneak key from RSHIFT to LSHIFT X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=73a18b9271bebddfe6716529bb13cad30869bc16;p=zefram%2Fminetest%2Fminetest_engine.git change default sneak key from RSHIFT to LSHIFT --- diff --git a/minetest.conf.example b/minetest.conf.example index 6f5e7a9f..4a2c491b 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -16,7 +16,7 @@ #keymap_left = KEY_KEY_A #keymap_right = KEY_KEY_D #keymap_jump = KEY_SPACE -#keymap_sneak = KEY_RSHIFT +#keymap_sneak = KEY_LSHIFT #keymap_inventory = KEY_KEY_I #keymap_chat = KEY_KEY_T #keymap_rangeselect = KEY_KEY_R diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index eb3b3c92..f11b0b2d 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -36,7 +36,7 @@ void set_default_settings() g_settings.setDefault("keymap_left", "KEY_KEY_A"); g_settings.setDefault("keymap_right", "KEY_KEY_D"); g_settings.setDefault("keymap_jump", "KEY_SPACE"); - g_settings.setDefault("keymap_sneak", "KEY_RSHIFT"); + 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_rangeselect", "KEY_KEY_R");