input: Add support for Wii Remote Plus by handling the inactive MotionPlus extension events (#1683)
Some checks failed
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled

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 = {}; new_state.m_extension = {};
request_status(index); request_status(index);
break; break;
case kExtensionMotionPlusInactive:
cemuLog_logDebug(LogType::Force,"Extension Type Received: Inactive MotionPlus");
break;
default: default:
cemuLog_logDebug(LogType::Force,"Unknown extension: {:#x}", be_type.value()); cemuLog_logDebug(LogType::Force,"Unknown extension: {:#x}", be_type.value());
new_state.m_extension = {}; new_state.m_extension = {};

View File

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