Skip to content

Commit

Permalink
Fix the mouse being hard to aim precisely
Browse files Browse the repository at this point in the history
  • Loading branch information
shinyquagsire23 committed Dec 20, 2021
1 parent 995081f commit 8d366d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Platform/SDL2/stdControl.c
Original file line number Diff line number Diff line change
Expand Up @@ -638,8 +638,8 @@ void stdControl_ReadMouse()

if ( stdControl_msDelta < 25 )
{
stdControl_aAxisPos.mouseX = (stdControl_aAxisPos.mouseX + stdControl_dwLastMouseX) >> 1;
stdControl_aAxisPos.mouseY = (stdControl_aAxisPos.mouseY + stdControl_dwLastMouseY) >> 1;
//stdControl_aAxisPos.mouseX = (stdControl_aAxisPos.mouseX + stdControl_dwLastMouseX) >> 1;
//stdControl_aAxisPos.mouseY = (stdControl_aAxisPos.mouseY + stdControl_dwLastMouseY) >> 1;
}
stdControl_dwLastMouseX = Window_lastXRel; // TODO
stdControl_dwLastMouseY = Window_lastYRel; // TODO
Expand Down

0 comments on commit 8d366d9

Please sign in to comment.