summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-09-18 02:25:51 +0200
committerGitHub <noreply@github.com>2021-09-18 02:25:51 +0200
commit6d7801deb7a4cd83d95605f355b1f5aa1c576f31 (patch)
tree880d17eca43a29776dec8202cade67659c39ec6e /src/common
parentMerge pull request #7015 from german77/NotGoodForTerra (diff)
parentinput_common: Enable steam controllers and 8 player support (diff)
downloadyuzu-6d7801deb7a4cd83d95605f355b1f5aa1c576f31.tar
yuzu-6d7801deb7a4cd83d95605f355b1f5aa1c576f31.tar.gz
yuzu-6d7801deb7a4cd83d95605f355b1f5aa1c576f31.tar.bz2
yuzu-6d7801deb7a4cd83d95605f355b1f5aa1c576f31.tar.lz
yuzu-6d7801deb7a4cd83d95605f355b1f5aa1c576f31.tar.xz
yuzu-6d7801deb7a4cd83d95605f355b1f5aa1c576f31.tar.zst
yuzu-6d7801deb7a4cd83d95605f355b1f5aa1c576f31.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/settings.cpp3
-rw-r--r--src/common/settings.h6
2 files changed, 6 insertions, 3 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 0d2df80a8..e1fa90c5a 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -72,6 +72,9 @@ void LogSettings() {
log_setting("Debugging_ProgramArgs", values.program_args.GetValue());
log_setting("Services_BCATBackend", values.bcat_backend.GetValue());
log_setting("Services_BCATBoxcatLocal", values.bcat_boxcat_local.GetValue());
+ log_setting("Input_EnableMotion", values.motion_enabled.GetValue());
+ log_setting("Input_EnableVibration", values.vibration_enabled.GetValue());
+ log_setting("Input_EnableRawInput", values.enable_raw_input.GetValue());
}
bool IsConfiguringGlobal() {
diff --git a/src/common/settings.h b/src/common/settings.h
index b7195670b..e674ccc5c 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -16,7 +16,6 @@
#include "common/common_types.h"
#include "common/settings_input.h"
-#include "input_common/udp/client.h"
namespace Settings {
@@ -504,14 +503,15 @@ struct Values {
Setting<bool> use_docked_mode{true, "use_docked_mode"};
+ BasicSetting<bool> enable_raw_input{false, "enable_raw_input"};
+
Setting<bool> vibration_enabled{true, "vibration_enabled"};
Setting<bool> enable_accurate_vibrations{false, "enable_accurate_vibrations"};
Setting<bool> motion_enabled{true, "motion_enabled"};
BasicSetting<std::string> motion_device{"engine:motion_emu,update_period:100,sensitivity:0.01",
"motion_device"};
- BasicSetting<std::string> udp_input_servers{InputCommon::CemuhookUDP::DEFAULT_SRV,
- "udp_input_servers"};
+ BasicSetting<std::string> udp_input_servers{"127.0.0.1:26760", "udp_input_servers"};
BasicSetting<bool> mouse_panning{false, "mouse_panning"};
BasicRangedSetting<u8> mouse_panning_sensitivity{10, 1, 100, "mouse_panning_sensitivity"};