mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
InputCommon: Allow Wii remote extension to be set with an input expression.
This commit is contained in:
parent
e8152b700f
commit
0a1634bedf
12 changed files with 172 additions and 64 deletions
|
@ -61,7 +61,11 @@ void EmulatedController::UpdateReferences(ciface::ExpressionParser::ControlEnvir
|
|||
// Attachments:
|
||||
if (ctrlGroup->type == GroupType::Attachments)
|
||||
{
|
||||
for (auto& attachment : static_cast<Attachments*>(ctrlGroup.get())->GetAttachmentList())
|
||||
auto* const attachments = static_cast<Attachments*>(ctrlGroup.get());
|
||||
|
||||
attachments->GetSelectionSetting().GetInputReference().UpdateReference(env);
|
||||
|
||||
for (auto& attachment : attachments->GetAttachmentList())
|
||||
attachment->UpdateReferences(env);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue