From efa0bf4886ae52cfcec25d46844c01afc5e8ac05 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 29 Mar 2011 01:32:20 +0000 Subject: [PATCH] hush some unrecognized SDL event type warnings git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10981 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=d1a7d5d11e065a2fef1d0d9665cc8920fc42716f --- vid_sdl.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/vid_sdl.c b/vid_sdl.c index 38abe817..de9e5f9d 100644 --- a/vid_sdl.c +++ b/vid_sdl.c @@ -922,6 +922,12 @@ void Sys_SendKeyEvents( void ) if (event.jbutton.button < 48) Key_Event( event.jbutton.button + (event.jbutton.button < 16 ? K_JOY1 : K_AUX1 - 16), 0, (event.jbutton.state == SDL_PRESSED) ); break; + case SDL_JOYAXISMOTION: + case SDL_JOYBALLMOTION: + case SDL_JOYHATMOTION: + break; + case SDL_VIDEOEXPOSE: + break; case SDL_VIDEORESIZE: if(vid_resizable.integer < 2) { @@ -1032,6 +1038,12 @@ void Sys_SendKeyEvents( void ) if (event.jbutton.button < 48) Key_Event( event.jbutton.button + (event.jbutton.button < 16 ? K_JOY1 : K_AUX1 - 16), 0, (event.jbutton.state == SDL_PRESSED) ); break; + case SDL_JOYAXISMOTION: + case SDL_JOYBALLMOTION: + case SDL_JOYHATMOTION: + break; + case SDL_VIDEOEXPOSE: + break; case SDL_WINDOWEVENT: //if (event.window.windowID == window) // how to compare? { -- 2.39.2