Add support for wired switch controllers from PowerA

This commit is contained in:
2017-11-23 23:17:28 -08:00
parent e0cabf9e1c
commit 4aa662cd67
6 changed files with 142 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
#include "boo/inputdev/DualshockPad.hpp"
#include "boo/inputdev/GenericPad.hpp"
#include "boo/inputdev/XInputPad.hpp"
#include "boo/inputdev/NintendoPowerA.hpp"
namespace boo
{
@@ -12,6 +13,7 @@ const DeviceSignature BOO_DEVICE_SIGS[] =
DEVICE_SIG(DolphinSmashAdapter, 0x57e, 0x337, DeviceType::USB),
DEVICE_SIG(DualshockPad, 0x54c, 0x268, DeviceType::HID),
DEVICE_SIG(GenericPad, 0, 0, DeviceType::HID),
DEVICE_SIG(NintendoPowerA, 0x20D6, 0xA711, DeviceType::USB),
DEVICE_SIG(XInputPad, 0, 0, DeviceType::XInput),
DEVICE_SIG_SENTINEL()
};