Adding meumart's Citra SDL Joystick support. Citra PR #3116

This commit is contained in:
muemart 2017-12-06 05:26:29 +01:00 committed by noah katz
parent 1a3b3e9100
commit eaff98dbb3
7 changed files with 620 additions and 287 deletions

View file

@ -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<std::unique_ptr<DevicePoller>> GetPollers(DeviceType type) {
#ifdef HAVE_SDL2
return SDL::Polling::GetPollers(type);
#else
return {};
#endif
}
} // namespace Polling
} // namespace InputCommon