summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-04-26 20:01:22 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-06-23 14:31:56 +1000
commit55bf5058077fe66f42c2bf104df98139ab5d9303 (patch)
tree08c41fde513b762edd7d4f304ad71ffad5bb0432 /tools
parent41f9176c0ad24a97c4e01976ed44df3ca300e99d (diff)
downloadlibinput-55bf5058077fe66f42c2bf104df98139ab5d9303.tar.gz
Name-space the scroll event types
To provide a generic naming system of type_direction. That will become more important once we add new axes as part of the ongoing work to support graphics tablets. [edit: and switch to the new defines] Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/event-debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/event-debug.c b/tools/event-debug.c
index 0f0d0339..34acfce2 100644
--- a/tools/event-debug.c
+++ b/tools/event-debug.c
@@ -305,10 +305,10 @@ print_axis_event(struct libinput_event *ev)
double val;
switch (axis) {
- case LIBINPUT_POINTER_AXIS_VERTICAL_SCROLL:
+ case LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL:
ax = "vscroll";
break;
- case LIBINPUT_POINTER_AXIS_HORIZONTAL_SCROLL:
+ case LIBINPUT_POINTER_AXIS_SCROLL_HORIZONTAL:
ax = "hscroll";
break;
default: