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:
@ -49,7 +49,7 @@ KeyboardMouse::~KeyboardMouse()
|
||||
XCloseDisplay(m_display);
|
||||
}
|
||||
|
||||
bool KeyboardMouse::UpdateInput()
|
||||
void KeyboardMouse::UpdateInput()
|
||||
{
|
||||
XQueryKeymap(m_display, m_state.keyboard);
|
||||
|
||||
@ -64,8 +64,6 @@ bool KeyboardMouse::UpdateInput()
|
||||
// the mouse position as a range from -1 to 1
|
||||
m_state.cursor.x = (float)win_x / (float)win_attribs.width * 2 - 1;
|
||||
m_state.cursor.y = (float)win_y / (float)win_attribs.height * 2 - 1;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
std::string KeyboardMouse::GetName() const
|
||||
|
Reference in New Issue
Block a user