forked from enlightenment/efl
ecore-drm: Fix mouse wheel to not be inverted
@bugfix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
8db2db06cb
commit
a93cd29847
|
@ -417,7 +417,7 @@ _device_notify_wheel(Ecore_Drm_Evdev *dev, struct input_event *event, unsigned i
|
|||
ev->root.x = ev->x;
|
||||
ev->root.y = ev->y;
|
||||
if (event->value == REL_HWHEEL) ev->direction = 1;
|
||||
ev->z = event->value;
|
||||
ev->z = -event->value;
|
||||
|
||||
ecore_event_add(ECORE_EVENT_MOUSE_WHEEL, ev, NULL, NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue