mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 14:31:17 +12:00
nsyshid: Add Skylander Xbox 360 Portal support (#1550)
This commit is contained in:
parent
352a918494
commit
33d5c6d490
9 changed files with 864 additions and 5 deletions
|
@ -4,6 +4,7 @@
|
|||
#include "Infinity.h"
|
||||
#include "Skylander.h"
|
||||
#include "config/CemuConfig.h"
|
||||
#include "SkylanderXbox360.h"
|
||||
|
||||
namespace nsyshid::backend::emulated
|
||||
{
|
||||
|
@ -28,6 +29,13 @@ namespace nsyshid::backend::emulated
|
|||
auto device = std::make_shared<SkylanderPortalDevice>();
|
||||
AttachDevice(device);
|
||||
}
|
||||
else if (auto usb_portal = FindDeviceById(0x1430, 0x1F17))
|
||||
{
|
||||
cemuLog_logDebug(LogType::Force, "Attaching Xbox 360 Portal");
|
||||
// Add Skylander Xbox 360 Portal
|
||||
auto device = std::make_shared<SkylanderXbox360PortalLibusb>(usb_portal);
|
||||
AttachDevice(device);
|
||||
}
|
||||
if (GetConfig().emulated_usb_devices.emulate_infinity_base && !FindDeviceById(0x0E6F, 0x0129))
|
||||
{
|
||||
cemuLog_logDebug(LogType::Force, "Attaching Emulated Base");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue