Skip to content

Commit

Permalink
Remove dead zone compensation for mouse translation #414
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Laurendeau committed Nov 24, 2016
1 parent 3bb807c commit 1804e49
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -962,10 +962,6 @@ static double mouse2axis(int device, s_adapter* controller, int which, double x,
if(val != 0)
{
z = multiplier * (val/fabs(val)) * pow(fabs(val), exp);
/*
* Subtract the first position to the dead zone (useful for high multipliers).
*/
dz = dz - multiplier;// * pow(1, exp);
}

if(mode == E_MOUSE_MODE_AIMING)
Expand Down

1 comment on commit 1804e49

@Cybereu
Copy link

@Cybereu Cybereu commented on 1804e49 Dec 2, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have confirmed that improved aim, removed the "heavy aim" at short/slow movements.

Please sign in to comment.