From f64914708092958f735337b3a14a33ca402b7893 Mon Sep 17 00:00:00 2001 From: est31 Date: Mon, 4 Jul 2016 20:49:13 +0200 Subject: [PATCH] Disable joysticks per default for now It seems that various different devices register as Joysticks on linux, and their presence has caused lots of confusion amongst minetest users. Therefore, disable the joystick feature. Closes #4261 Closes #4221 --- builtin/settingtypes.txt | 2 +- src/defaultsettings.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index c751f34f..3f256ec4 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -105,7 +105,7 @@ random_input (Random input) bool false continuous_forward (Continuous forward) bool false # Enable Joysticks -enable_joysticks (Enable Joysticks) bool true +enable_joysticks (Enable Joysticks) bool false # The time in seconds it takes between repeated events # when holding down a joystick button combination. diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 43a7a7c0..8ee26ecf 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -116,7 +116,7 @@ void set_default_settings(Settings *settings) settings->setDefault("free_move", "false"); settings->setDefault("noclip", "false"); settings->setDefault("continuous_forward", "false"); - settings->setDefault("enable_joysticks", "true"); + settings->setDefault("enable_joysticks", "false"); settings->setDefault("repeat_joystick_button_time", "0.17"); settings->setDefault("joystick_frustum_sensitivity", "170"); settings->setDefault("cinematic", "false");