forked from dolphin-emu/dolphin
Linux: Add an evdev based controller backend, to replace SDL.
This commit is contained in:
@@ -26,6 +26,9 @@
|
||||
#ifdef CIFACE_USE_ANDROID
|
||||
#include "InputCommon/ControllerInterface/Android/Android.h"
|
||||
#endif
|
||||
#ifdef CIFACE_USE_EVDEV
|
||||
#include "InputCommon/ControllerInterface/evdev/evdev.h"
|
||||
#endif
|
||||
|
||||
using namespace ciface::ExpressionParser;
|
||||
|
||||
@@ -69,6 +72,9 @@ void ControllerInterface::Initialize(void* const hwnd)
|
||||
#ifdef CIFACE_USE_ANDROID
|
||||
ciface::Android::Init(m_devices);
|
||||
#endif
|
||||
#ifdef CIFACE_USE_EVDEV
|
||||
ciface::evdev::Init(m_devices);
|
||||
#endif
|
||||
|
||||
m_is_init = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user