mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-12 01:36:58 +00:00
Add support for Wii Remote Plus by handling the inactive MotionPlus extension events
This commit is contained in:
parent
5a3809be16
commit
82a1686780
2 changed files with 4 additions and 0 deletions
|
|
@ -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 = {};
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue