summaryrefslogtreecommitdiff
path: root/src/lib/elput
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-11-12 21:44:42 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-11-12 21:47:02 +0900
commitf40c91941d5992b4a12802c42e709cbd9861faa1 (patch)
tree2e5030ca6f8776b955ca7fc38aabff922710dbdd /src/lib/elput
parenta2a0ccf36b5becdd00005f339e03bb19154f8fdc (diff)
libinput check - move up to requiring 1.6 as a minimum for libinput
Diffstat (limited to 'src/lib/elput')
-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);