Merge pull request #3113 from lioncash/input

InputCommon: Get rid of multiple identical define macros
This commit is contained in:
shuffle2
2015-10-03 18:01:36 -07:00
7 changed files with 270 additions and 270 deletions

View File

@ -143,6 +143,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)
{}