summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-09-02 01:48:01 +0200
committergerman77 <juangerman-13@hotmail.com>2021-09-10 07:58:12 +0200
commit5798537ce431481f44e3335a1a291b733bd719ad (patch)
tree16aa3dcf2c0f76b74ac47b22feb7b23ac10b3280 /src/common
parentMerge pull request #6965 from bunnei/cpu_manager_jthread (diff)
downloadyuzu-5798537ce431481f44e3335a1a291b733bd719ad.tar
yuzu-5798537ce431481f44e3335a1a291b733bd719ad.tar.gz
yuzu-5798537ce431481f44e3335a1a291b733bd719ad.tar.bz2
yuzu-5798537ce431481f44e3335a1a291b733bd719ad.tar.lz
yuzu-5798537ce431481f44e3335a1a291b733bd719ad.tar.xz
yuzu-5798537ce431481f44e3335a1a291b733bd719ad.tar.zst
yuzu-5798537ce431481f44e3335a1a291b733bd719ad.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 fd3b639cd..aa4613d08 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 ec4d381e8..34065e937 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 {
@@ -498,14 +497,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"};