diff options
Diffstat (limited to 'src/sdl')
-rw-r--r-- | src/sdl/sdl_input.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sdl/sdl_input.c b/src/sdl/sdl_input.c index a369799a..f241f225 100644 --- a/src/sdl/sdl_input.c +++ b/src/sdl/sdl_input.c @@ -856,9 +856,15 @@ static void IN_ProcessEvents( void ) case SDL_MOUSEWHEEL: if( e.wheel.y > 0 ) + { Com_QueueEvent( 0, SE_KEY, K_MWHEELUP, qtrue, 0, NULL ); + Com_QueueEvent( 0, SE_KEY, K_MWHEELUP, qfalse, 0, NULL ); + } else + { Com_QueueEvent( 0, SE_KEY, K_MWHEELDOWN, qtrue, 0, NULL ); + Com_QueueEvent( 0, SE_KEY, K_MWHEELDOWN, qfalse, 0, NULL ); + } break; case SDL_QUIT: |