Signed-off-by: Carlos Garnacho <carl...@gnome.org>
---
 tools/event-debug.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/tools/event-debug.c b/tools/event-debug.c
index 3a72bfa..17dafe0 100644
--- a/tools/event-debug.c
+++ b/tools/event-debug.c
@@ -310,6 +310,18 @@ print_axis_event(struct libinput_event *ev)
        case LIBINPUT_POINTER_AXIS_HORIZONTAL_SCROLL:
                ax = "hscroll";
                break;
+       case LIBINPUT_POINTER_AXIS_DISTANCE:
+               ax = "distance";
+               break;
+       case LIBINPUT_POINTER_AXIS_PRESSURE:
+               ax = "pressure";
+               break;
+       case LIBINPUT_POINTER_AXIS_VERTICAL_TILT:
+               ax = "ytilt";
+               break;
+       case LIBINPUT_POINTER_AXIS_HORIZONTAL_TILT:
+               ax = "xtilt";
+               break;
        default:
                abort();
        }
-- 
1.9.0

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

Reply via email to