constant tweaking to try to improve mouse feel

pull/18/head
jesse 11 years ago
parent c8a121ff5c
commit 9ebd97ebab

@ -111,7 +111,7 @@ void reset_matrix()
} }
double mouse_accel (double cycles) double mouse_accel (double cycles)
{ {
double accel = atan((cycles/25)-5); double accel = atan((cycles/50)-5);
accel += 1.5707963267944; // we want the whole s curve, not just the bit that's usually above the x and y axes; accel += 1.5707963267944; // we want the whole s curve, not just the bit that's usually above the x and y axes;
accel = accel *0.85; accel = accel *0.85;
if (accel<0.25) { if (accel<0.25) {

Loading…
Cancel
Save