Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net>
---
Turns out the wheel was set and handled, but the event-debug tool didn't
print it in the capabilities

 tools/event-debug.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/event-debug.c b/tools/event-debug.c
index bf23bfb..b6a24ad 100644
--- a/tools/event-debug.c
+++ b/tools/event-debug.c
@@ -471,6 +471,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.1.0

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to