InputCommon: Rename AddAnalogInputs to AddFullAnalogSurfaceInputs.
This commit is contained in:
1 parent
53ede795a2
commit
2f1390e9f9
8 files changed
+26
-17
No files matched your search
@@ -164,6 +164,14 @@ bool Device::FullAnalogSurface::IsMatchingName(std::string_view name) const
|
||||
return old_name == name;
|
||||
}
|
||||
|
||||
void Device::AddFullAnalogSurfaceInputs(Input* low, Input* high)
|
||||
{
|
||||
AddInput(low);
|
||||
AddInput(high);
|
||||
AddInput(new FullAnalogSurface(low, high));
|
||||
AddInput(new FullAnalogSurface(high, low));
|
||||
}
|
||||
|
||||
void Device::AddCombinedInput(std::string name, const std::pair<std::string, std::string>& inputs)
|
||||
{
|
||||
AddInput(new CombinedInput(std::move(name), {FindInput(inputs.first), FindInput(inputs.second)}));
|
||||
|
||||
Reference in new issue
Block a user