diff options
author | Peter De Wachter <pdewacht@gmail.com> | 2012-10-03 20:48:24 +0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-10-21 15:47:54 +1000 |
commit | c3251deb4b988610c3766081345e49f538fca865 (patch) | |
tree | f4b5ae815d9d4df9c1eece7c5f6710cb45cfa0e6 /src/evdev.h | |
parent | Use num_slots where appropriate (diff) | |
download | xf86-input-evdev-c3251deb4b988610c3766081345e49f538fca865.tar.gz xf86-input-evdev-c3251deb4b988610c3766081345e49f538fca865.tar.bz2 xf86-input-evdev-c3251deb4b988610c3766081345e49f538fca865.zip |
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 <pdewacht@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/evdev.h')
-rw-r--r-- | src/evdev.h | 5 |
1 files changed, 5 insertions, 0 deletions
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; |