VSF Documented
Data Fields
SDL_Event Union Reference

#include <SDL_events.h>

Data Fields

uint32_t type
 
SDL_KeyboardEvent key
 
SDL_JoyAxisEvent jaxis
 
SDL_JoyBallEvent jball
 
SDL_JoyHatEvent jhat
 
SDL_JoyButtonEvent jbutton
 
SDL_JoyDeviceEvent jdevice
 
SDL_MouseMotionEvent motion
 
SDL_MouseButtonEvent button
 
SDL_MouseWheelEvent wheel
 
SDL_ControllerDeviceEvent cdevice
 
SDL_ControllerButtonEvent cbutton
 
SDL_ControllerAxisEvent caxis
 
SDL_ControllerTouchpadEvent ctouchpad
 
SDL_ControllerSensorEvent csensor
 
SDL_WindowEvent window
 
SDL_TextInputEvent text
 
SDL_DropEvent drop
 
SDL_UserEvent user
 
SDL_ActiveEvent active
 

Field Documentation

◆ type

uint32_t SDL_Event::type

◆ key

SDL_KeyboardEvent SDL_Event::key

◆ jaxis

SDL_JoyAxisEvent SDL_Event::jaxis

◆ jball

SDL_JoyBallEvent SDL_Event::jball

◆ jhat

SDL_JoyHatEvent SDL_Event::jhat

◆ jbutton

SDL_JoyButtonEvent SDL_Event::jbutton

◆ jdevice

SDL_JoyDeviceEvent SDL_Event::jdevice

◆ motion

SDL_MouseMotionEvent SDL_Event::motion

◆ button

SDL_MouseButtonEvent SDL_Event::button

◆ wheel

SDL_MouseWheelEvent SDL_Event::wheel

◆ cdevice

SDL_ControllerDeviceEvent SDL_Event::cdevice

◆ cbutton

SDL_ControllerButtonEvent SDL_Event::cbutton

◆ caxis

SDL_ControllerAxisEvent SDL_Event::caxis

◆ ctouchpad

SDL_ControllerTouchpadEvent SDL_Event::ctouchpad

◆ csensor

SDL_ControllerSensorEvent SDL_Event::csensor

◆ window

SDL_WindowEvent SDL_Event::window

◆ text

SDL_TextInputEvent SDL_Event::text

◆ drop

SDL_DropEvent SDL_Event::drop

◆ user

SDL_UserEvent SDL_Event::user

◆ active

SDL_ActiveEvent SDL_Event::active