no message

This commit is contained in:
BADIM-PC\Vadim 2018-01-25 08:51:15 +03:00
parent ce2974e5ea
commit 12ccba7427
1 changed files with 21 additions and 21 deletions

View File

@ -519,31 +519,31 @@ static void pollEvent()
// case SDL_KEYDOWN: // case SDL_KEYDOWN:
// if(processShortcuts(&event.key)) return NULL; // if(processShortcuts(&event.key)) return NULL;
// break; // break;
// case SDL_JOYDEVICEADDED: case SDL_JOYDEVICEADDED:
// { {
// s32 id = event.jdevice.which; s32 id = event.jdevice.which;
// if (id < TIC_GAMEPADS) if (id < TIC_GAMEPADS)
// { {
// if(platform.joysticks[id]) if(platform.joysticks[id])
// SDL_JoystickClose(platform.joysticks[id]); SDL_JoystickClose(platform.joysticks[id]);
// platform.joysticks[id] = SDL_JoystickOpen(id); platform.joysticks[id] = SDL_JoystickOpen(id);
// } }
// } }
// break; break;
// case SDL_JOYDEVICEREMOVED: case SDL_JOYDEVICEREMOVED:
// { {
// s32 id = event.jdevice.which; s32 id = event.jdevice.which;
// if (id < TIC_GAMEPADS && platform.joysticks[id]) if (id < TIC_GAMEPADS && platform.joysticks[id])
// { {
// SDL_JoystickClose(platform.joysticks[id]); SDL_JoystickClose(platform.joysticks[id]);
// platform.joysticks[id] = NULL; platform.joysticks[id] = NULL;
// } }
// } }
// break; break;
case SDL_WINDOWEVENT: case SDL_WINDOWEVENT:
switch(event.window.event) switch(event.window.event)
{ {