From eaff98dbb3da3c7524a504abb1cdd5daa3480dda Mon Sep 17 00:00:00 2001 From: muemart Date: Wed, 6 Dec 2017 05:26:29 +0100 Subject: Adding meumart's Citra SDL Joystick support. Citra PR #3116 --- src/input_common/main.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/input_common/main.cpp') diff --git a/src/input_common/main.cpp b/src/input_common/main.cpp index 557353740..95d40f09f 100644 --- a/src/input_common/main.cpp +++ b/src/input_common/main.cpp @@ -71,4 +71,15 @@ std::string GenerateAnalogParamFromKeys(int key_up, int key_down, int key_left, return circle_pad_param.Serialize(); } +namespace Polling { + +std::vector> GetPollers(DeviceType type) { +#ifdef HAVE_SDL2 + return SDL::Polling::GetPollers(type); +#else + return {}; +#endif +} + +} // namespace Polling } // namespace InputCommon -- cgit v1.2.3