comparison src/video/win32/SDL_win32events.c @ 2152:003c1b5b07da

Fixed bug #382 Added horizontal scrolling support
author Sam Lantinga <slouken@libsdl.org>
date Fri, 06 Jul 2007 09:22:18 +0000
parents e1a70460c354
children 545fbf461c5b
comparison
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: