summaryrefslogtreecommitdiff
path: root/tools/shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/shared.c')
-rw-r--r--tools/shared.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/shared.c b/tools/shared.c
index ee80eb93..7a730278 100644
--- a/tools/shared.c
+++ b/tools/shared.c
@@ -307,9 +307,11 @@ tools_parse_option(int option,
options->custom_type = LIBINPUT_ACCEL_TYPE_FALLBACK;
else if (streq(optarg, "motion"))
options->custom_type = LIBINPUT_ACCEL_TYPE_MOTION;
+ else if (streq(optarg, "scroll"))
+ options->custom_type = LIBINPUT_ACCEL_TYPE_SCROLL;
else {
fprintf(stderr, "Invalid --set-custom-type\n"
- "Valid custom types: fallback|motion\n");
+ "Valid custom types: fallback|motion|scroll\n");
return 1;
}
break;