ecore-drm: Fix mouse wheel to not be inverted

@bugfix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-03-28 14:05:08 +00:00
parent 8db2db06cb
commit a93cd29847
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}