From 6480bfe14dab5a974d9943a175121cae500462fc Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 27 Jun 2018 15:54:55 +1000 Subject: [PATCH] tools: drop the special handling for trackpoint accel, not needed anymore Signed-off-by: Peter Hutterer --- tools/ptraccel-debug.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/ptraccel-debug.c b/tools/ptraccel-debug.c index 150a3b3b..5ee88c30 100644 --- a/tools/ptraccel-debug.c +++ b/tools/ptraccel-debug.c @@ -185,7 +185,6 @@ usage(void) "--steps= ... in motion and delta modes only. Increase dx by step each round\n" "--speed= ... accel speed [-1, 1], default 0\n" "--dpi= ... device resolution in DPI (default: 1000)\n" - "--trackpoint-range= ... range of the trackpoint deltas (default: 20)\n" "--filter= \n" " linear ... the default motion filter\n" " low-dpi ... low-dpi filter, use --dpi with this argument\n" @@ -236,7 +235,6 @@ main(int argc, char **argv) OPT_SPEED, OPT_DPI, OPT_FILTER, - OPT_TRACKPOINT_RANGE, }; while (1) { @@ -251,7 +249,6 @@ main(int argc, char **argv) {"speed", 1, 0, OPT_SPEED }, {"dpi", 1, 0, OPT_DPI }, {"filter", 1, 0, OPT_FILTER }, - {"trackpoint-range", 1, 0, OPT_TRACKPOINT_RANGE }, {0, 0, 0, 0} }; @@ -309,9 +306,6 @@ main(int argc, char **argv) case OPT_FILTER: filter_type = optarg; break; - case OPT_TRACKPOINT_RANGE: - tp_range_max = strtod(optarg, NULL); - break; default: usage(); exit(1);