Skip to content

SDL:EventHandling

Event Functions

SDL에서 사용할 수 있는 이벤트 함수 목록을 나열한다.

  • SDL_PumpEvents: Pumps the event loop, gathering events from the input devices
  • SDL_PeepEvents: Checks the event queue for messages and optionally returns them
  • SDL_PollEvent: Polls for currently pending events
  • SDL_WaitEvent: Waits indefinitely for the next available event
  • SDL_PushEvent: Pushes an event onto the event queue
  • SDL_SetEventFilter: Sets up a filter to process all events
  • SDL_EventState: Allows you to set the state of processing certain events
  • SDL_GetKeyState: Get a snapshot of the current keyboard state
  • SDL_GetModState: Get the state of modifier keys
  • SDL_SetModState: Set the state of modifier keys
  • SDL_GetKeyName: Get the name of an SDL virtual keysym
  • SDL_EnableUNICODE: Enable UNICODE translation
  • SDL_EnableKeyRepeat: Set keyboard repeat rate
  • SDL_GetMouseState: Retrieve the current state of the mouse
  • SDL_GetRelativeMouseState: Retrieve the current state of the mouse
  • SDL_GetAppState: Get the state of the application
  • SDL_JoystickEventState: Enable/disable joystick event polling

Favorite site