input: Add support for Wii Remote Plus by handling the inactive MotionPlus extension events (#1683)

This commit is contained in:
Michael Schroder 2025-09-09 12:05:06 -07:00 committed by GitHub
parent 5a3809be16
commit 158c4e17a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -344,6 +344,9 @@ void WiimoteControllerProvider::reader_thread()
new_state.m_extension = {};
request_status(index);
break;
case kExtensionMotionPlusInactive:
cemuLog_logDebug(LogType::Force,"Extension Type Received: Inactive MotionPlus");
break;
default:
cemuLog_logDebug(LogType::Force,"Unknown extension: {:#x}", be_type.value());
new_state.m_extension = {};

View file

@ -53,6 +53,7 @@ enum ExtensionType : uint64
kExtensionDrums = 0x0100A4200103,
kExtensionBalanceBoard = 0x2A2C,
kExtensionMotionPlusInactive = 0xa4200005,
kExtensionMotionPlus = 0xa6200005,
kExtensionPartialyInserted = 0xffffffffffff,