ControllerInterface: Add XInput controller backend
This commit is contained in:
parent
62d0ec5584
commit
3c46f7b44c
18 changed files with 600 additions and 45 deletions
|
|
@ -17,6 +17,11 @@ SDLControllerInterface::~SDLControllerInterface()
|
|||
Assert(m_controllers.empty());
|
||||
}
|
||||
|
||||
ControllerInterface::Backend SDLControllerInterface::GetBackend() const
|
||||
{
|
||||
return ControllerInterface::Backend::SDL;
|
||||
}
|
||||
|
||||
bool SDLControllerInterface::Initialize(CommonHostInterface* host_interface)
|
||||
{
|
||||
if (!ControllerInterface::Initialize(host_interface))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue