Merge pull request #9688 from Filoppi/input_cleanup

Input cleanup
This commit is contained in:
Scott Mansell
2021-05-14 20:51:33 +12:00
committed by GitHub
47 changed files with 239 additions and 185 deletions

View File

@ -776,6 +776,7 @@ void Renderer::UpdateDrawRectangle()
const float win_width = static_cast<float>(m_backbuffer_width);
const float win_height = static_cast<float>(m_backbuffer_height);
// FIXME: this breaks at very low widget sizes
// Make ControllerInterface aware of the render window region actually being used
// to adjust mouse cursor inputs.
g_controller_interface.SetAspectRatioAdjustment(draw_aspect_ratio / (win_width / win_height));