add in support for passing down the "natural" (or flipped) scrolling direction in the MouseWheelEvent event

This commit is contained in:
Edward Rudd
2014-11-23 21:09:54 -05:00
parent 70438be272
commit 5b5823eeb5
13 changed files with 33 additions and 15 deletions

View File

@@ -254,7 +254,7 @@ private:
return;
}
win = GetSDLWindow(winID);
SDL_SendMouseWheel(win, 0, xTicks, yTicks);
SDL_SendMouseWheel(win, 0, xTicks, yTicks, SDL_MOUSEWHEEL_NORMAL);
}
void _HandleKey(BMessage *msg) {