[PATCH libinput] tools: List relative wheel among axis capabilities
Peter Hutterer
peter.hutterer at who-t.net
Mon Apr 6 14:53:00 PDT 2015
On Wed, Apr 01, 2015 at 02:01:01PM -0700, Jason Gerecke wrote:
> Signed-off-by: Jason Gerecke <jason.gerecke at wacom.com>
> ---
> For Peter's tablet-support branch.
applied, thanks.
Cheers,
Peter
>
> tools/event-debug.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tools/event-debug.c b/tools/event-debug.c
> index d2ac415..e8e49cd 100644
> --- a/tools/event-debug.c
> +++ b/tools/event-debug.c
> @@ -480,6 +480,8 @@ print_proximity_event(struct libinput_event *ev)
> printf("r");
> if (libinput_tool_has_axis(tool, LIBINPUT_TABLET_AXIS_SLIDER))
> printf("s");
> + if (libinput_tool_has_axis(tool, LIBINPUT_TABLET_AXIS_REL_WHEEL))
> + printf("w");
>
> printf("\tbtn:");
> if (libinput_tool_has_button(tool, BTN_TOUCH))
> --
> 2.3.4
>
More information about the wayland-devel
mailing list