Add a configuration option for natural scrolling
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 18 Sep 2014 05:10:19 +0000 (15:10 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 23 Sep 2014 00:54:23 +0000 (10:54 +1000)
commitc481b47f1776549bbfde325fe68dceb0401b3f59
treeb52e59e7b7971be3ba0ddcc8ba3129a11fd12851
parentfb5f44f7948b72eb9788ac7ccfd837bb9e73356c
Add a configuration option for natural scrolling

Natural scrolling is simply inverted scrolling, but I decided to
use the Apple terminology simply because it's easier to google for.

Add the usual quartett of config options for has/set/get/get_default/, as a
boolean option rather than an enum for scroll mode to avoid name collusion
with the (currently in the works) edge scrolling.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
src/libinput-private.h
src/libinput.c
src/libinput.h