From 73a18b9271bebddfe6716529bb13cad30869bc16 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Thu, 19 May 2011 22:59:10 +0300 Subject: [PATCH] change default sneak key from RSHIFT to LSHIFT --- minetest.conf.example | 2 +- src/defaultsettings.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"); -- 2.30.2