summaryrefslogtreecommitdiff
path: root/tools/shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/shared.c')
-rw-r--r--tools/shared.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/tools/shared.c b/tools/shared.c
index 85c0d739..c1ce6473 100644
--- a/tools/shared.c
+++ b/tools/shared.c
@@ -218,17 +218,6 @@ tools_parse_option(int option,
"%s",
optarg);
break;
- case OPT_CURVE_POINTS:
- if (!optarg)
- return 1;
-
- options->ncurve_points = kv_double_from_string(
- optarg,
- ";", ":",
- &options->curve_points);
- if (options->ncurve_points < 0)
- return 1;
- break;
}
return 0;
@@ -397,16 +386,6 @@ tools_device_apply_config(struct libinput_device *device,
libinput_device_config_send_events_set_mode(device,
LIBINPUT_CONFIG_SEND_EVENTS_DISABLED);
}
-
- if (libinput_device_config_accel_get_profile(device) ==
- LIBINPUT_CONFIG_ACCEL_PROFILE_DEVICE_SPEED_CURVE) {
- for (ssize_t idx = 0; idx < options->ncurve_points; idx++) {
- double x = options->curve_points[idx].key,
- fx = options->curve_points[idx].value;
-
- libinput_device_config_accel_set_curve_point(device, x, fx);
- }
- }
}
static char*