equal
deleted
inserted
replaced
368 if ( SDL_VideoSurface && ! DINPUT_FULLSCREEN() ) { |
368 if ( SDL_VideoSurface && ! DINPUT_FULLSCREEN() ) { |
369 int move = (short)HIWORD(wParam); |
369 int move = (short)HIWORD(wParam); |
370 if ( move ) { |
370 if ( move ) { |
371 Uint8 button; |
371 Uint8 button; |
372 if ( move > 0 ) |
372 if ( move > 0 ) |
373 button = 4; |
373 button = SDL_BUTTON_WHEELUP; |
374 else |
374 else |
375 button = 5; |
375 button = SDL_BUTTON_WHEELDOWN; |
376 posted = SDL_PrivateMouseButton( |
376 posted = SDL_PrivateMouseButton( |
377 SDL_PRESSED, button, 0, 0); |
377 SDL_PRESSED, button, 0, 0); |
378 posted |= SDL_PrivateMouseButton( |
378 posted |= SDL_PrivateMouseButton( |
379 SDL_RELEASED, button, 0, 0); |
379 SDL_RELEASED, button, 0, 0); |
380 } |
380 } |