Signed-off-by: Stephen Chandler Paul <[email protected]>
Reviewed-by: Peter Hutterer <[email protected]>
---
tools/event-debug.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/tools/event-debug.c b/tools/event-debug.c
index 13b86a4..9a5ece2 100644
--- a/tools/event-debug.c
+++ b/tools/event-debug.c
@@ -364,6 +364,18 @@ print_tablet_axis_event(struct libinput_event *ev)
case LIBINPUT_TABLET_AXIS_Y:
ax = "y";
break;
+ case LIBINPUT_TABLET_AXIS_DISTANCE:
+ ax = "distance";
+ break;
+ case LIBINPUT_TABLET_AXIS_PRESSURE:
+ ax = "pressure";
+ break;
+ case LIBINPUT_TABLET_AXIS_TILT_VERTICAL:
+ ax = "ytilt";
+ break;
+ case LIBINPUT_TABLET_AXIS_TILT_HORIZONTAL:
+ ax = "xtilt";
+ break;
}
val = libinput_event_tablet_get_axis_value(t, a);
printf("\t%s = %.2f\n", ax, val);
--
1.8.5.5
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel