summaryrefslogtreecommitdiff
path: root/src/input_common/input_engine.h
diff options
context:
space:
mode:
authorGravatar german772021-11-21 14:12:01 -0600
committerGravatar Narr the Reg2021-11-24 20:30:28 -0600
commit746c85b56011b87afb57e37b75953435389fc810 (patch)
tree32d31216be1450b5fbe9897e15829ff9bc1f1e7c /src/input_common/input_engine.h
parentinput_common: Fix SDL controller with inverted axis (diff)
downloadyuzu-746c85b56011b87afb57e37b75953435389fc810.tar.gz
yuzu-746c85b56011b87afb57e37b75953435389fc810.tar.xz
yuzu-746c85b56011b87afb57e37b75953435389fc810.zip
input_common: Move button names to the frontend
Diffstat (limited to 'src/input_common/input_engine.h')
-rw-r--r--src/input_common/input_engine.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/input_common/input_engine.h b/src/input_common/input_engine.h
index c621686e5..02272b3f8 100644
--- a/src/input_common/input_engine.h
+++ b/src/input_common/input_engine.h
@@ -161,8 +161,9 @@ public:
161 }; 161 };
162 162
163 /// Retrieves the name of the given input. 163 /// Retrieves the name of the given input.
164 virtual std::string GetUIName([[maybe_unused]] const Common::ParamPackage& params) const { 164 virtual Common::Input::ButtonNames GetUIName(
165 return GetEngineName(); 165 [[maybe_unused]] const Common::ParamPackage& params) const {
166 return Common::Input::ButtonNames::Engine;
166 }; 167 };
167 168
168 /// Retrieves the index number of the given hat button direction 169 /// Retrieves the index number of the given hat button direction