Skip to content
Permalink
Browse files

haiku: Invert mouse wheel values to match what SDL expects.

Partially fixes Bugzilla #4442.
  • Loading branch information
gl00my committed Nov 12, 2019
1 parent b22fb9e commit 55b5d8dce67c45ab717a203868b1e71047857177
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/haiku/SDL_BApp.h
@@ -261,7 +261,7 @@ class SDL_BApp : public BApplication {
return;
}
win = GetSDLWindow(winID);
SDL_SendMouseWheel(win, 0, xTicks, yTicks, SDL_MOUSEWHEEL_NORMAL);
SDL_SendMouseWheel(win, 0, xTicks, -yTicks, SDL_MOUSEWHEEL_NORMAL);
}

void _HandleKey(BMessage *msg) {

0 comments on commit 55b5d8d

Please sign in to comment.