mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +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:
@ -208,7 +208,7 @@ void KeyboardMouse::UpdateCursor()
|
||||
m_state.cursor.y = win_y / (float)win_attribs.height * 2 - 1;
|
||||
}
|
||||
|
||||
bool KeyboardMouse::UpdateInput()
|
||||
void KeyboardMouse::UpdateInput()
|
||||
{
|
||||
XFlush(m_display);
|
||||
|
||||
@ -282,8 +282,6 @@ bool KeyboardMouse::UpdateInput()
|
||||
m_state.axis.y *= MOUSE_AXIS_SMOOTHING;
|
||||
m_state.axis.y += delta_y;
|
||||
m_state.axis.y /= MOUSE_AXIS_SMOOTHING+1.0f;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
std::string KeyboardMouse::GetName() const
|
||||
|
Reference in New Issue
Block a user