mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 23:08:47 +00:00
InputCommon: Get rid of multiple identical define macros
This commit is contained in:
parent
696d6eae09
commit
449c57a8e0
7 changed files with 270 additions and 270 deletions
|
@ -142,6 +142,11 @@ void ControllerEmu::SaveConfig(IniFile::Section *sec, const std::string& base)
|
|||
ctrlGroup->SaveConfig(sec, defdev, base);
|
||||
}
|
||||
|
||||
void ControllerEmu::ControlGroup::SetControlExpression(int index, const std::string& expression)
|
||||
{
|
||||
controls.at(index)->control_ref->expression = expression;
|
||||
}
|
||||
|
||||
ControllerEmu::AnalogStick::AnalogStick(const char* const _name, ControlState default_radius)
|
||||
: AnalogStick(_name, _name, GROUP_TYPE_STICK)
|
||||
{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue