SDL2.0的SDL_Event事件处理
阅读目录
SDL_Event事件集合
SDL_AudioDeviceEvent
SDL_ControllerAxisEvent
SDL_ControllerButtonEvent
SDL_ControllerDeviceEvent
SDL_DollarGestureEvent
SDL_DropEvent
SDL_JoyAxisEvent
SDL_JoyBallEvent
SDL_JoyButtonEvent
SDL_JoyDeviceEvent
SDL_JoyHatEvent
SDL_KeyboardEvent
SDL_MouseButtonEvent
SDL_MouseMotionEvent
SDL_MouseWheelEvent
SDL_MultiGestureEvent
SDL_QuitEvent
SDL_SysWMEvent
SDL_TextEditingEvent
SDL_TextInputEvent
SDL_TouchFingerEvent
SDL_UserEvent
SDL_WindowEvent
SDL_Event简单实例
实例先飘过,后续补上,上一篇的DEMO也有涉及:SDL2.0的几何图行绘画
同时也附上一位博友写的:SDL事件处理
https://www.cnblogs.com/1024Planet/p/5750458.html