mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-19 22:37:03 +00:00
nsyshid: Add infrastructure and support for emulating Skylander Portal (#971)
This commit is contained in:
parent
f3d20832c1
commit
93b58ae6f7
19 changed files with 1658 additions and 58 deletions
|
|
@ -1,5 +1,6 @@
|
|||
#include "nsyshid.h"
|
||||
#include "Backend.h"
|
||||
#include "BackendEmulated.h"
|
||||
|
||||
#if NSYSHID_ENABLE_BACKEND_LIBUSB
|
||||
|
||||
|
|
@ -37,5 +38,13 @@ namespace nsyshid::backend
|
|||
}
|
||||
}
|
||||
#endif // NSYSHID_ENABLE_BACKEND_WINDOWS_HID
|
||||
// add emulated backend
|
||||
{
|
||||
auto backendEmulated = std::make_shared<backend::emulated::BackendEmulated>();
|
||||
if (backendEmulated->IsInitialisedOk())
|
||||
{
|
||||
AttachBackend(backendEmulated);
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace nsyshid::backend
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue