Motion Input: Add nunchuk support.

This commit is contained in:
rlnilsen
2019-11-04 04:19:33 +01:00
parent 15fc71cfcf
commit 965781ea9d
12 changed files with 268 additions and 16 deletions

View File

@ -76,6 +76,8 @@ void WiimoteEmuGeneral::Connect(MappingWindow* window)
void WiimoteEmuGeneral::OnAttachmentChanged(int extension)
{
GetParent()->ShowExtensionMotionTabs(extension == WiimoteEmu::ExtensionNumber::NUNCHUK);
m_extension_widget->ChangeExtensionType(extension);
auto* ce_extension = static_cast<ControllerEmu::Attachments*>(