nsyshid: Add Skylander Xbox 360 Portal support (#1550)
Some checks failed
Generate translation template / generate-pot (push) Failing after 1s
Build check / build (push) Has been cancelled

This commit is contained in:
gamerbross 2025-05-04 21:44:46 +02:00 committed by GitHub
parent 352a918494
commit 33d5c6d490
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 864 additions and 5 deletions

View file

@ -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");