Fixed bug #663
Fixed mouse wheel direction --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403437
This commit is contained in:
parent
dd23674bb7
commit
e5796d2a53
1 changed files with 2 additions and 4 deletions
|
@ -286,10 +286,8 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
SDL_SendMouseButton(index, SDL_RELEASED, SDL_BUTTON_X2);
|
||||
}
|
||||
if (flags & RI_MOUSE_WHEEL) {
|
||||
if (raw->data.mouse.usButtonData != 0) {
|
||||
SDL_SendMouseWheel(index, 0,
|
||||
raw->data.mouse.usButtonData);
|
||||
}
|
||||
SDL_SendMouseWheel(index, 0,
|
||||
(short)raw->data.mouse.usButtonData);
|
||||
}
|
||||
SDL_stack_free(lpb);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue