summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput_evdev.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/elput/elput_evdev.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/elput/elput_evdev.c b/src/lib/elput/elput_evdev.c
index b41fbe508b..4943c45f4d 100644
--- a/src/lib/elput/elput_evdev.c
+++ b/src/lib/elput/elput_evdev.c
@@ -1191,7 +1191,6 @@ _pointer_axis(struct libinput_device *idevice, struct libinput_event_pointer *ev
1191 ptr = _evdev_pointer_get(dev->seat); 1191 ptr = _evdev_pointer_get(dev->seat);
1192 if (!ptr) return EINA_FALSE; 1192 if (!ptr) return EINA_FALSE;
1193 1193
1194#ifdef LIBINPUT_HIGHER_08
1195 vert = 1194 vert =
1196 libinput_event_pointer_has_axis(event, 1195 libinput_event_pointer_has_axis(event,
1197 LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL); 1196 LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL);
@@ -1213,12 +1212,6 @@ _pointer_axis(struct libinput_device *idevice, struct libinput_event_pointer *ev
1213 dir = 1; 1212 dir = 1;
1214 } 1213 }
1215 1214
1216#else
1217 axis = libinput_event_pointer_get_axis(event);
1218 if (axis == LIBINPUT_POINTER_AXIS_SCROLL_HORIZONTAL) dir = 1;
1219 val = libinput_event_pointer_get_axis_value(event);
1220#endif
1221
1222 ptr->timestamp = libinput_event_pointer_get_time(event); 1215 ptr->timestamp = libinput_event_pointer_get_time(event);
1223 1216
1224 _pointer_axis_send(dev, dir, val); 1217 _pointer_axis_send(dev, dir, val);