input_common/sdl/sdl_impl: Move documentation comments to header where applicable

Places the documentation comments with the rest of SDLState's member
function documentation.
This commit is contained in:
Lioncash 2019-06-03 16:42:17 -04:00
parent b9b23c98ff
commit cfac942e63
2 changed files with 6 additions and 7 deletions

View file

@ -34,7 +34,13 @@ public:
/// Handle SDL_Events for joysticks from SDL_PollEvent
void HandleGameControllerEvent(const SDL_Event& event);
/// Get the nth joystick with the corresponding GUID
std::shared_ptr<SDLJoystick> GetSDLJoystickBySDLID(SDL_JoystickID sdl_id);
/**
* Check how many identical joysticks (by guid) were connected before the one with sdl_id and so
* tie it to a SDLJoystick with the same guid and that port
*/
std::shared_ptr<SDLJoystick> GetSDLJoystickByGUID(const std::string& guid, int port);
/// Get all DevicePoller that use the SDL backend for a specific device type