ControllerEmu: code cleanup.
This commit is contained in:
1 parent
1c24bef594
commit
7efa96eda9
9 files changed
+41
-36
No files matched your search
@@ -37,7 +37,7 @@ Tilt::Tilt(const std::string& name_)
|
||||
numeric_settings.emplace_back(std::make_unique<NumericSetting>(_trans("Angle"), 0.9, 0, 180));
|
||||
}
|
||||
|
||||
Tilt::StateData Tilt::GetReshapableState(bool adjusted)
|
||||
Tilt::ReshapeData Tilt::GetReshapableState(bool adjusted)
|
||||
{
|
||||
const ControlState y = controls[0]->control_ref->State() - controls[1]->control_ref->State();
|
||||
const ControlState x = controls[3]->control_ref->State() - controls[2]->control_ref->State();
|
||||
|
||||
Reference in new issue
Block a user