diff options
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/settings.cpp | 3 | ||||
| -rw-r--r-- | src/common/settings.h | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp index 84d291787..69f0bd8c0 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp | |||
| @@ -71,6 +71,9 @@ void LogSettings() { | |||
| 71 | log_setting("Debugging_ProgramArgs", values.program_args.GetValue()); | 71 | log_setting("Debugging_ProgramArgs", values.program_args.GetValue()); |
| 72 | log_setting("Services_BCATBackend", values.bcat_backend.GetValue()); | 72 | log_setting("Services_BCATBackend", values.bcat_backend.GetValue()); |
| 73 | log_setting("Services_BCATBoxcatLocal", values.bcat_boxcat_local.GetValue()); | 73 | log_setting("Services_BCATBoxcatLocal", values.bcat_boxcat_local.GetValue()); |
| 74 | log_setting("Input_EnableMotion", values.motion_enabled.GetValue()); | ||
| 75 | log_setting("Input_EnableVibration", values.vibration_enabled.GetValue()); | ||
| 76 | log_setting("Input_EnableRawInput", values.enable_raw_input.GetValue()); | ||
| 74 | } | 77 | } |
| 75 | 78 | ||
| 76 | bool IsConfiguringGlobal() { | 79 | bool IsConfiguringGlobal() { |
diff --git a/src/common/settings.h b/src/common/settings.h index e73c045cc..b1bddb895 100644 --- a/src/common/settings.h +++ b/src/common/settings.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #include "common/common_types.h" | 17 | #include "common/common_types.h" |
| 18 | #include "common/settings_input.h" | 18 | #include "common/settings_input.h" |
| 19 | #include "input_common/udp/client.h" | ||
| 20 | 19 | ||
| 21 | namespace Settings { | 20 | namespace Settings { |
| 22 | 21 | ||
| @@ -503,14 +502,15 @@ struct Values { | |||
| 503 | 502 | ||
| 504 | Setting<bool> use_docked_mode{true, "use_docked_mode"}; | 503 | Setting<bool> use_docked_mode{true, "use_docked_mode"}; |
| 505 | 504 | ||
| 505 | BasicSetting<bool> enable_raw_input{false, "enable_raw_input"}; | ||
| 506 | |||
| 506 | Setting<bool> vibration_enabled{true, "vibration_enabled"}; | 507 | Setting<bool> vibration_enabled{true, "vibration_enabled"}; |
| 507 | Setting<bool> enable_accurate_vibrations{false, "enable_accurate_vibrations"}; | 508 | Setting<bool> enable_accurate_vibrations{false, "enable_accurate_vibrations"}; |
| 508 | 509 | ||
| 509 | Setting<bool> motion_enabled{true, "motion_enabled"}; | 510 | Setting<bool> motion_enabled{true, "motion_enabled"}; |
| 510 | BasicSetting<std::string> motion_device{"engine:motion_emu,update_period:100,sensitivity:0.01", | 511 | BasicSetting<std::string> motion_device{"engine:motion_emu,update_period:100,sensitivity:0.01", |
| 511 | "motion_device"}; | 512 | "motion_device"}; |
| 512 | BasicSetting<std::string> udp_input_servers{InputCommon::CemuhookUDP::DEFAULT_SRV, | 513 | BasicSetting<std::string> udp_input_servers{"127.0.0.1:26760", "udp_input_servers"}; |
| 513 | "udp_input_servers"}; | ||
| 514 | 514 | ||
| 515 | BasicSetting<bool> mouse_panning{false, "mouse_panning"}; | 515 | BasicSetting<bool> mouse_panning{false, "mouse_panning"}; |
| 516 | BasicRangedSetting<u8> mouse_panning_sensitivity{10, 1, 100, "mouse_panning_sensitivity"}; | 516 | BasicRangedSetting<u8> mouse_panning_sensitivity{10, 1, 100, "mouse_panning_sensitivity"}; |