mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-25 09:17:12 +01:00
haiku: Invert mouse wheel values to match what SDL expects.
Partially fixes Bugzilla #4442.
This commit is contained in:
parent
b22fb9e2ba
commit
55b5d8dce6
@ -261,7 +261,7 @@ private:
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user