mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
InputCommon: Clean up creation of inputs.
This commit is contained in:
@ -310,8 +310,7 @@ HotkeyManager::HotkeyManager()
|
||||
groups.emplace_back(m_hotkey_groups[group]);
|
||||
for (int key = s_groups_info[group].first; key <= s_groups_info[group].last; key++)
|
||||
{
|
||||
m_keys[group]->controls.emplace_back(
|
||||
new ControllerEmu::Input(ControllerEmu::Translate, s_hotkey_labels[key]));
|
||||
m_keys[group]->AddInput(ControllerEmu::Translate, s_hotkey_labels[key]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user