[PATCH libinput 1/2] tablet: copy distance axis for the mouse/lens cursor devices

Benjamin Tissoires benjamin.tissoires at gmail.com
Thu Mar 5 06:53:30 PST 2015


On Wed, Mar 4, 2015 at 11:25 PM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---

For the series:
Reviewed-by: Benjamin Tissoires <benjamin.tissoires at gmail.com>

>  src/evdev-tablet.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/evdev-tablet.c b/src/evdev-tablet.c
> index 8c11409..3e3924c 100644
> --- a/src/evdev-tablet.c
> +++ b/src/evdev-tablet.c
> @@ -639,6 +639,7 @@ tool_set_bits_from_libwacom(const struct tablet_dispatch *tablet,
>                 break;
>         case WSTYLUS_PUCK:
>                 copy_axis_cap(tablet, tool, LIBINPUT_TABLET_AXIS_ROTATION_Z);
> +               copy_axis_cap(tablet, tool, LIBINPUT_TABLET_AXIS_DISTANCE);
>                 /* lens cursors don't have a wheel */
>                 if (!libwacom_stylus_has_lens(s))
>                         copy_axis_cap(tablet,
> --
> 2.1.0
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list