2015-04-21 04:02:43 +00:00
|
|
|
#ifndef CDEVICECLASSES_HPP
|
|
|
|
#define CDEVICECLASSES_HPP
|
|
|
|
|
|
|
|
#include "CDolphinSmashAdapter.hpp"
|
|
|
|
#include "CRevolutionPad.hpp"
|
|
|
|
#include "CCafeProPad.hpp"
|
|
|
|
#include "CDualshockPad.hpp"
|
|
|
|
#include "CGenericPad.hpp"
|
|
|
|
|
2015-04-23 00:46:32 +00:00
|
|
|
#define VID_NINTENDO 0x57e
|
|
|
|
#define PID_SMASH_ADAPTER 0x337
|
|
|
|
|
2015-04-21 04:02:43 +00:00
|
|
|
enum EDeviceMask
|
|
|
|
{
|
|
|
|
DEV_NONE = 0,
|
|
|
|
DEV_DOL_SMASH_ADAPTER = 1<<0,
|
|
|
|
DEV_RVL_PAD = 1<<1,
|
|
|
|
DEV_CAFE_PRO_PAD = 1<<2,
|
|
|
|
DEV_DUALSHOCK_PAD = 1<<3,
|
|
|
|
DEV_GENERIC_PAD = 1<<4,
|
|
|
|
DEV_ALL = 0xff
|
|
|
|
};
|
|
|
|
|
|
|
|
bool BooDeviceMatchToken(const CDeviceToken& token, EDeviceMask mask);
|
2015-04-24 00:24:15 +00:00
|
|
|
CDeviceBase* BooDeviceNew(CDeviceToken& token);
|
2015-04-21 04:02:43 +00:00
|
|
|
|
|
|
|
#endif // CDEVICECLASSES_HPP
|