mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2026-08-28 13:55:26 -05:00
Explicit support for Motion Plus controllers
This commit is contained in:
@@ -144,7 +144,8 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
if (kpad.extensionType == WPAD_EXT_CORE || kpad.extensionType == WPAD_EXT_NUNCHUK) {
|
||||
if (kpad.extensionType == WPAD_EXT_CORE || kpad.extensionType == WPAD_EXT_NUNCHUK ||
|
||||
kpad.extensionType == WPAD_EXT_MPLUS || kpad.extensionType == WPAD_EXT_MPLUS_NUNCHUK) {
|
||||
data.buttons_r = remapWiiMoteButtons(kpad.release);
|
||||
data.buttons_h = remapWiiMoteButtons(kpad.hold);
|
||||
data.buttons_d = remapWiiMoteButtons(kpad.trigger);
|
||||
@@ -184,4 +185,4 @@ public:
|
||||
KPADStatus kpad = {};
|
||||
KPADError kpadError = KPAD_ERROR_UNINITIALIZED;
|
||||
KPADChan channel;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user