[PATCH] libinput: enable natural scroll for touchpad devices Enable by setting natural_scroll=true under [libinput] in weston.ini

2018-01-02 Thread Jiayi Zhao
Changes: - no longer affects all devices that support natural scroll, only for touchpad devices (devices that supports tap to click) Signed-off-by: Jiayi Zhao --- compositor/main.c | 13 + man/weston.ini.man | 3 +++ weston.ini.in | 1 + 3 files changed, 17 insertions

[weston,v5] weston.ini: Add natural scroll support to weston.ini

2018-01-02 Thread Jiayi Zhao
This adds support for enabling/disabling natural scrolling via a boolean in weston.ini I've changed it so it only affects devices supporting tap-to-click (touchpads) instead of all devices supporting natural scroll. ___ wayland-devel mailing list wayla

Re: [PATCH] [weston, v4] weston.ini: Add natural scroll support to weston.ini This adds support for enabling/disabling natural scrolling via a boolean in weston.ini:

2017-02-05 Thread Jiayi Zhao
tus make[1]: *** [Makefile:4126: weston] Error 1 On Sun, Feb 5, 2017 at 7:30 PM, Jiayi Zhao wrote: > ​​ > Hmmm, after using udev_device_has_tag(udev_device, "ID_INPUT_TOUCHPAD"), > I'm getting linking errors. Quick google of this leads to: libraries on > the command line s

Re: [PATCH] [weston, v4] weston.ini: Add natural scroll support to weston.ini This adds support for enabling/disabling natural scrolling via a boolean in weston.ini:

2017-02-05 Thread Jiayi Zhao
rote: > On Sun, Feb 05, 2017 at 07:13:04PM -0500, Jiayi Zhao wrote: > > How would ID_INPUT_TOUCHPAD work? > > I have something like udev_device_has_tag(udev_device, > ID_INPUT_TOUCHPAD) > > Unfortunately, I'm not sure where this constant is declared and its > unable &

Re: [PATCH] [weston, v4] weston.ini: Add natural scroll support to weston.ini This adds support for enabling/disabling natural scrolling via a boolean in weston.ini:

2017-01-29 Thread Jiayi Zhao
Darn, that's not what I wanted! This may take longer than I thought. Jiayi On Jan 29, 2017 4:42 PM, "Peter Hutterer" wrote: > On Fri, Jan 27, 2017 at 09:46:49PM -0500, Jiayi Zhao wrote: > > [libinput] > > natur

[PATCH] [weston, v4] weston.ini: Add natural scroll support to weston.ini This adds support for enabling/disabling natural scrolling via a boolean in weston.ini:

2017-01-27 Thread Jiayi Zhao
[libinput] natural_scroll=true CHANGES: - libinput_device_config_scroll_has_natural_scroll() is no longer compared to != 0 - added configuration option to weston.ini man page Signed-off-by: Jiayi Zhao --- compositor/main.c | 13 + man/weston.ini.man | 3 +++ weston.ini.in

[no subject]

2017-01-27 Thread Jiayi Zhao
This latest patch (v4) adds documentation for the new natural_scoll option in weston.ini via the weston.ini.man man page. Signed-off-by: Jiayi Zhao ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org

Re: [PATCH] [weston, v2] weston.ini: Add natural scroll support to weston.ini

2017-01-27 Thread Jiayi Zhao
Hey, okay, I'll make a new patch with updated weston.ini manual soon. Cheers, Jiayi On Jan 27, 2017 6:59 AM, "Pekka Paalanen" wrote: > On Sat, 22 Oct 2016 13:31:28 -0400 > Jiayi Zhao wrote: > > > This adds support for enabling/disabling natural scrolling &

Re: [PATCH] [weston, v2] weston.ini: Add natural scroll support to weston.ini

2016-10-27 Thread Jiayi Zhao
which one is the most recent patch now? there > are two labelled v2 > > Cheers, >Peter > > On Sat, Oct 22, 2016 at 01:31:28PM -0400, Jiayi Zhao wrote: > > This adds support for enabling/disabling natural scrolling > > via a boolean in weston.ini: > &g

Re: [PATCH] [weston, v2] weston.ini: Add natural scroll support to weston.ini

2016-10-24 Thread Jiayi Zhao
ch one is the most recent patch now? there > are two labelled v2 > > Cheers, >Peter > > On Sat, Oct 22, 2016 at 01:31:28PM -0400, Jiayi Zhao wrote: > > This adds support for enabling/disabling natural scrolling > > via a boolean in weston.ini: > >

[weston,v2] weston.ini: Add natural scroll support to weston.ini

2016-10-22 Thread Jiayi Zhao
This adds support for enabling/disabling natural scrolling via a boolean in weston.ini: [libinput] natural_scroll=true CHANGES: - libinput_device_config_scroll_has_natural_scroll() is not longer compared to != 0 Signed-off-by: Jiayi Zhao

[PATCH] [weston, v2] weston.ini: Add natural scroll support to weston.ini

2016-10-22 Thread Jiayi Zhao
This adds support for enabling/disabling natural scrolling via a boolean in weston.ini: [libinput] natural_scroll=true CHANGES: - libinput_device_config_scroll_has_natural_scroll() is not longer compared to != 0 Signed-off-by: Jiayi Zhao --- compositor/main.c | 13

[weston,v2] weston.ini: Add natural scroll support to weston.ini

2016-10-22 Thread Jiayi Zhao
-off-by: Jiayi Zhao ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel

[PATCH] [weston, v2] weston.ini: Add natural scroll support to weston.ini

2016-10-22 Thread Jiayi Zhao
-off-by: Jiayi Zhao --- compositor/main.c | 13 + weston.ini.in | 1 + 2 files changed, 14 insertions(+) diff --git a/compositor/main.c b/compositor/main.c index 080aa61..a077a98 100644 --- a/compositor/main.c +++ b/compositor/main.c @@ -1095,6 +1095,8 @@ configure_input_device

Re: [PATCH] [weston] weston.ini: Add natural scroll support to weston.ini

2016-10-22 Thread Jiayi Zhao
#ga82d1aa961d2bb2f0c72c22e2441a4fc3 So I don't really know how I else I can program it. On Oct 20, 2016 9:05 PM, "Peter Hutterer" wrote: > > > > On Thu, Oct 20, 2016 at 08:43:18PM -0400, Jiayi Zhao wrote: > > This adds support for enabling/disabling natural scrollin

[PATCH] [weston] weston.ini: Add natural scroll support to weston.ini

2016-10-20 Thread Jiayi Zhao
This adds support for enabling/disabling natural scrolling via a boolean in weston.ini: [libinput] natural_scroll=true Signed-off-by: Jiayi Zhao ___ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman

[PATCH] [weston] weston.ini: Add natural scroll support to weston.ini

2016-10-20 Thread Jiayi Zhao
This adds support for enabling/disabling natural scrolling via a boolean in weston.ini: [libinput] natural_scroll=true Signed-off-by: Jiayi Zhao --- compositor/main.c | 13 + weston.ini.in | 1 + 2 files changed, 14 insertions(+) diff --git a/compositor/main.c b/compositor