From 482d2006c5ba5d809c0bd2058580d6171eb84051 Mon Sep 17 00:00:00 2001 From: dschmenk Date: Mon, 3 Jun 2013 07:56:37 -0700 Subject: [PATCH] Adjust mouse acceleration (again) --- src/a2pid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/a2pid.c b/src/a2pid.c index 034a6bd..a8d2538 100755 --- a/src/a2pid.c +++ b/src/a2pid.c @@ -308,8 +308,8 @@ int scancode[256] = { MOD_SHIFT | KEY_GRAVE, // ~ code 7E KEY_DELETE // DELETE code 7F }; -int accel[32] = { 0, 1, 4, 8, 8, 8, 8, 8, 8, 9, 10, 11, 12, 13, 14, 15 - -16, -15, -14, -13, -12, -11, -10, -9, -8, -8, -8, -8, -8, -8, -4, -1}; +int accel[32] = { 0, 1, 4, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 + -21, -20, -19, -18, -17, -16, -15, -14, -13, -12, -11, -10, -9, -8, -4, -1}; volatile int stop = FALSE, isdaemon = FALSE; struct input_event evkey, evrelx, evrely, evsync;