ControllerInterface: Make UpdateInput / UpdateOutput return void

The return values here have never been checked, so it doesn't make sense
to return a value to begin with.
This commit is contained in:
Jasper St. Pierre
2014-11-13 00:55:14 -08:00
parent 61fcfc4bf2
commit f2787f620e
19 changed files with 35 additions and 76 deletions

View File

@ -316,15 +316,13 @@ void Joystick::TriangleEffect::SetState(ControlState state)
}
#endif
bool Joystick::UpdateInput()
void Joystick::UpdateInput()
{
// each joystick is doin this, o well
SDL_JoystickUpdate();
return true;
}
bool Joystick::UpdateOutput()
void Joystick::UpdateOutput()
{
#ifdef USE_SDL_HAPTIC
for (auto &i : m_state_out)
@ -359,7 +357,6 @@ bool Joystick::UpdateOutput()
}
}
#endif
return true;
}
std::string Joystick::GetName() const