void WIN_QuitMouse(_THIS) { SDL_VideoData *data = (SDL_VideoData *) _this->driverdata; /* let's delete all of the mice */ SDL_MouseQuit(); }
void DirectFB_QuitMouse(_THIS) { SDL_DFB_DEVICEDATA(_this); if (devdata->use_linux_input) { SDL_MouseQuit(); } else { SDL_DelMouse(0); } }
void SDL_StopEventLoop(void) { /* Halt the event thread, if running */ SDL_StopEventThread(); /* Shutdown event handlers */ SDL_KeyboardQuit(); SDL_MouseQuit(); SDL_QuitQuit(); /* Clean out EventQ */ SDL_EventQ.head = 0; SDL_EventQ.tail = 0; SDL_EventQ.wmmsg_next = 0; }
void SDL_StopEventLoop(void) { SDL_StopEventThread(); SDL_AppActiveQuit(); SDL_KeyboardQuit(); SDL_MouseQuit(); SDL_QuitQuit(); SDL_EventQ.head = 0; SDL_EventQ.tail = 0; SDL_EventQ.wmmsg_next = 0; }