mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-28 07:18:33 +00:00
Linux: Add an evdev based controller backend, to replace SDL.
This commit is contained in:
parent
9a244f07fa
commit
2721fdf8a9
8 changed files with 438 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue