src/video/win32/SDL_win32events.c
changeset 2152 003c1b5b07da
parent 2141 e1a70460c354
child 2284 545fbf461c5b
equal deleted inserted replaced
2151:1e0692271600 2152:003c1b5b07da
   643         {
   643         {
   644             int index;
   644             int index;
   645             int motion = (short) HIWORD(wParam);
   645             int motion = (short) HIWORD(wParam);
   646 
   646 
   647             index = data->videodata->mouse;
   647             index = data->videodata->mouse;
   648             SDL_SendMouseWheel(index, motion);
   648             SDL_SendMouseWheel(index, 0, motion);
   649         }
   649         }
   650         return (0);
   650         return (0);
   651 
   651 
   652     case WM_SYSKEYDOWN:
   652     case WM_SYSKEYDOWN:
   653     case WM_KEYDOWN:
   653     case WM_KEYDOWN: