KeyMod enum
Binds SDL_Keymod
.
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
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