EventType enum

SDL_EventType.

Inheritance

Constructors

EventType()
const

Values

firstevent → const EventType

SDL_FIRSTEVENT = 0

quit → const EventType

SDL_QUIT = 256

appTerminating → const EventType

SDL_APP_TERMINATING = 257

appLowmemory → const EventType

SDL_APP_LOWMEMORY = 258

appWillenterbackground → const EventType

SDL_APP_WILLENTERBACKGROUND = 259

appDidenterbackground → const EventType

SDL_APP_DIDENTERBACKGROUND = 260

appWillenterforeground → const EventType

SDL_APP_WILLENTERFOREGROUND = 261

appDidenterforeground → const EventType

SDL_APP_DIDENTERFOREGROUND = 262

localechanged → const EventType

SDL_LOCALECHANGED = 263

displayevent → const EventType

SDL_DISPLAYEVENT = 336

windowevent → const EventType

SDL_WINDOWEVENT = 512

syswmevent → const EventType

SDL_SYSWMEVENT = 513

keydown → const EventType

SDL_KEYDOWN = 768

keyup → const EventType

SDL_KEYUP = 769

textediting → const EventType

SDL_TEXTEDITING = 770

textinput → const EventType

SDL_TEXTINPUT = 771

keymapchanged → const EventType

SDL_KEYMAPCHANGED = 772

mousemotion → const EventType

SDL_MOUSEMOTION = 1024

mousebuttondown → const EventType

SDL_MOUSEBUTTONDOWN = 1025

mousebuttonup → const EventType

SDL_MOUSEBUTTONUP = 1026

mousewheel → const EventType

SDL_MOUSEWHEEL = 1027

joyaxismotion → const EventType

SDL_JOYAXISMOTION = 1536

joyballmotion → const EventType

SDL_JOYBALLMOTION = 1537

joyhatmotion → const EventType

SDL_JOYHATMOTION = 1538

joybuttondown → const EventType

SDL_JOYBUTTONDOWN = 1539

joybuttonup → const EventType

SDL_JOYBUTTONUP = 1540

joydeviceadded → const EventType

SDL_JOYDEVICEADDED = 1541

joydeviceremoved → const EventType

SDL_JOYDEVICEREMOVED = 1542

controlleraxismotion → const EventType

SDL_CONTROLLERAXISMOTION = 1616

controllerbuttondown → const EventType

SDL_CONTROLLERBUTTONDOWN = 1617

controllerbuttonup → const EventType

SDL_CONTROLLERBUTTONUP = 1618

controllerdeviceadded → const EventType

SDL_CONTROLLERDEVICEADDED = 1619

controllerdeviceremoved → const EventType

SDL_CONTROLLERDEVICEREMOVED = 1620

controllerdeviceremapped → const EventType

SDL_CONTROLLERDEVICEREMAPPED = 1621

controllertouchpaddown → const EventType

SDL_CONTROLLERTOUCHPADDOWN = 1622

controllertouchpadmotion → const EventType

SDL_CONTROLLERTOUCHPADMOTION = 1623

controllertouchpadup → const EventType

SDL_CONTROLLERTOUCHPADUP = 1624

controllersensorupdate → const EventType

SDL_CONTROLLERSENSORUPDATE = 1625

fingerdown → const EventType

SDL_FINGERDOWN = 1792

fingerup → const EventType

SDL_FINGERUP = 1793

fingermotion → const EventType

SDL_FINGERMOTION = 1794

dollargesture → const EventType

SDL_DOLLARGESTURE = 2048

dollarrecord → const EventType

SDL_DOLLARRECORD = 2049

multigesture → const EventType

SDL_MULTIGESTURE = 2050

clipboardupdate → const EventType

SDL_CLIPBOARDUPDATE = 2304

dropfile → const EventType

SDL_DROPFILE = 4096

droptext → const EventType

SDL_DROPTEXT = 4097

dropbegin → const EventType

SDL_DROPBEGIN = 4098

dropcomplete → const EventType

SDL_DROPCOMPLETE = 4099

audiodeviceadded → const EventType

SDL_AUDIODEVICEADDED = 4352

audiodeviceremoved → const EventType

SDL_AUDIODEVICEREMOVED = 4353

sensorupdate → const EventType

SDL_SENSORUPDATE = 4608

renderTargetsReset → const EventType

SDL_RENDER_TARGETS_RESET = 8192

renderDeviceReset → const EventType

SDL_RENDER_DEVICE_RESET = 8193

pollsentinel → const EventType

SDL_POLLSENTINEL = 32512

userevent → const EventType

SDL_USEREVENT = 32768

lastevent → const EventType

SDL_LASTEVENT = 65535

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<EventType>
A constant List of the values in this enum, in order of their declaration.