Implemented in libinput since 0.7.0 by: libinput_device_config_has_natural_scroll libinput_device_config_set_natural_scroll_enabled libinput_device_config_get_natural_scroll_enabled libinput_device_config_scroll_get_default_natural_scroll_enabled
Patch: https://phabricator.kde.org/D3193
@Martin: I'll try to extend the device_test.cpp later (I have scroll method implementation at the head of my queue), but I'm not much of a testing guy, so I don't promise anything ;-)
Git commit b19341777a566ba4b20485e161c5eeb25b521d0a by David Strobach. Committed on 03/11/2016 at 13:02. Pushed by strobach into branch 'Plasma/5.8'. [libinput] Add natural scrolling support Wraps libinput libinput_device_config_has_natural_scroll libinput_device_config_set_natural_scroll_enabled libinput_device_config_get_natural_scroll_enabled libinput_device_config_scroll_get_default_natural_scroll_enabled Differential Revision: https://phabricator.kde.org/D3193 FIXED-IN: 5.8.4 M +27 -0 autotests/libinput/mock_libinput.cpp M +4 -0 autotests/libinput/mock_libinput.h M +16 -0 libinput/device.cpp M +17 -0 libinput/device.h http://commits.kde.org/kwin/b19341777a566ba4b20485e161c5eeb25b521d0a