input_common: Move button names to the frontend
This commit is contained in:
parent
bc9641614d
commit
b8b849dc2e
12 changed files with 160 additions and 52 deletions
|
@ -161,8 +161,9 @@ public:
|
|||
};
|
||||
|
||||
/// Retrieves the name of the given input.
|
||||
virtual std::string GetUIName([[maybe_unused]] const Common::ParamPackage& params) const {
|
||||
return GetEngineName();
|
||||
virtual Common::Input::ButtonNames GetUIName(
|
||||
[[maybe_unused]] const Common::ParamPackage& params) const {
|
||||
return Common::Input::ButtonNames::Engine;
|
||||
};
|
||||
|
||||
/// Retrieves the index number of the given hat button direction
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue