summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorMonsterDruide1 <5958456@gmail.com>2021-06-18 16:15:42 +0200
committerMonsterDruide1 <5958456@gmail.com>2021-09-18 23:22:00 +0200
commitb42c3ce21db249d5e3bc04b4f73202e757da317c (patch)
treec5ccf9e311d2a675b0e2afff3d85ed4654047b5e /src/common
parentMerge pull request #7020 from Moonlacer/remove_audio_stretching (diff)
downloadyuzu-b42c3ce21db249d5e3bc04b4f73202e757da317c.tar
yuzu-b42c3ce21db249d5e3bc04b4f73202e757da317c.tar.gz
yuzu-b42c3ce21db249d5e3bc04b4f73202e757da317c.tar.bz2
yuzu-b42c3ce21db249d5e3bc04b4f73202e757da317c.tar.lz
yuzu-b42c3ce21db249d5e3bc04b4f73202e757da317c.tar.xz
yuzu-b42c3ce21db249d5e3bc04b4f73202e757da317c.tar.zst
yuzu-b42c3ce21db249d5e3bc04b4f73202e757da317c.zip
Diffstat (limited to '')
-rw-r--r--src/common/settings.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/settings.h b/src/common/settings.h
index b1bddb895..29b888f10 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -14,6 +14,7 @@
#include <utility>
#include <vector>
+#include <input_common/main.h>
#include "common/common_types.h"
#include "common/settings_input.h"
@@ -499,6 +500,7 @@ struct Values {
// Controls
InputSetting<std::array<PlayerInput, 10>> players;
+ std::shared_ptr<InputCommon::InputSubsystem> inputSubsystem = NULL;
Setting<bool> use_docked_mode{true, "use_docked_mode"};
@@ -512,9 +514,14 @@ struct Values {
"motion_device"};
BasicSetting<std::string> udp_input_servers{"127.0.0.1:26760", "udp_input_servers"};
+ BasicSetting<bool> tas_enable{false, "tas_enable"};
+ BasicSetting<bool> tas_reset{ false, "tas_reset" };
+ BasicSetting<bool> tas_record{ false, "tas_record" };
+
BasicSetting<bool> mouse_panning{false, "mouse_panning"};
BasicRangedSetting<u8> mouse_panning_sensitivity{10, 1, 100, "mouse_panning_sensitivity"};
BasicSetting<bool> mouse_enabled{false, "mouse_enabled"};
+
std::string mouse_device;
MouseButtonsRaw mouse_buttons;