[PATCH libinput] tools: List relative wheel among axis capabilities
Jason Gerecke
killertofu at gmail.com
Wed Apr 1 14:01:01 PDT 2015
Signed-off-by: Jason Gerecke <jason.gerecke at wacom.com>
---
For Peter's tablet-support branch.
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