From c3251deb4b988610c3766081345e49f538fca865 Mon Sep 17 00:00:00 2001 From: Peter De Wachter Date: Wed, 3 Oct 2012 20:48:24 +0200 Subject: Add configuration options for smooth scrolling. This patch creates three new xorg.conf options, VertScrollDelta, HorizScrollDelta and DialDelta, which adjust the sensitivity of smooth scrolling. These options take a positive integer, default value is 1. Signed-off-by: Peter De Wachter Reviewed-by: Peter Hutterer Signed-off-by: Peter Hutterer --- src/evdev.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/evdev.h') diff --git a/src/evdev.h b/src/evdev.h index 563d108..520d017 100644 --- a/src/evdev.h +++ b/src/evdev.h @@ -221,6 +221,11 @@ typedef struct { Time expires; /* time of expiry */ Time timeout; } emulateWheel; + struct { + int vert_delta; + int horiz_delta; + int dial_delta; + } smoothScroll; /* run-time calibration */ struct { int min_x; -- cgit v1.2.3