highlight=%28SDL_KeyboardEvent%29 [3] 鼠标移动: https://wiki.libsdl.org/SDL_MouseMotionEvent? highlight=%28SDL_MouseMotionEvent%29 [4] 操纵杆按钮按下: https://wiki.libsdl.org/SDL_JoyButtonEvent?
data */ // 鼠标事件的信息 SDL_MouseButtonEvent button; /**< Mouse button event data */ SDL_MouseMotionEvent 事件包含的具体信息在 SDL_MouseMotionEvent 、SDL_MouseButtonEvent 和 SDL_MouseWheelEvent 里面。
SDL_MouseMotionEvent : 鼠标移动相关的事件。 SDL_QuitEvent : 退出事件。 SDL_UserEvent : 用户自定义事件。
SDL_TextEditingEvent edit; /**< 文本编辑事件数据 */ SDL_TextInputEvent text; /**< 文本输入事件数据 */ SDL_MouseMotionEvent