mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-16 07:40:24 +02:00
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:
1 parent
61fcfc4bf2
commit
f2787f620e
19 files changed
+35
-76
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user