mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 01:16:26 +00:00
add in support for passing down the "natural" (or flipped) scrolling direction in the MouseWheelEvent event
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user