KeyMod enum

Binds SDL_Keymod.

Inheritance

Constructors

KeyMod()
const

Values

none → const KeyMod

KMOD_NONE = 0

lShift → const KeyMod

KMOD_LSHIFT = 1

rShift → const KeyMod

KMOD_RSHIFT = 2

lCtrl → const KeyMod

KMOD_LCTRL = 64

rCtrl → const KeyMod

KMOD_RCTRL = 128

lAlt → const KeyMod

KMOD_LALT = 256

rAlt → const KeyMod

KMOD_RALT = 512

lGui → const KeyMod

KMOD_LGUI = 1024

rGui → const KeyMod

KMOD_RGUI = 2048

num → const KeyMod

KMOD_NUM = 4096

caps → const KeyMod

KMOD_CAPS = 8192

mode → const KeyMod

KMOD_MODE = 16384

reserved → const KeyMod

KMOD_RESERVED = 32768

ctrl → const KeyMod

KMOD_CTRL = 192

shift → const KeyMod

KMOD_SHIFT = 3

alt → const KeyMod

KMOD_ALT = 768

gui → const KeyMod

KMOD_GUI = 3072

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<KeyMod>
A constant List of the values in this enum, in order of their declaration.