Skip to content
Snippets Groups Projects
  • Zaneo's avatar
    EmuWindow: Clip mouse input coordinates to emulated screen dimensions. · b8328593
    Zaneo authored
    If the mouse position for a mouse move/drag would take it outside the emulated screen dimensions, clip the coordinates to
    the emulated screen dimensions.
    Qt and GLFW will report negative coordinates for mouse positions to the left, or above citra window. Added restriction
    to mouse coordinates passed to touchmoved by Qt/GLFW to be greater or equal to zero.
    b8328593