enum
Eagle::KeyMod
Overview
Modifier keys held during a key event. It is a flags enum, so several can be set at once:
event.mods.ctrl?.
Defined in:
eagle/input/keys.crEnum Members
-
Shift =
1 -
Either shift key.
-
Ctrl =
2 -
Either control key.
-
Alt =
4 -
Either alt/option key.
-
Gui =
8 -
Either Command (macOS) or Windows key.
-
None =
0 -
All =
15
Instance Method Summary
-
#alt?
Returns
trueif this enum value containsAlt -
#ctrl?
Returns
trueif this enum value containsCtrl -
#gui?
Returns
trueif this enum value containsGui - #none?
-
#shift?
Returns
trueif this enum value containsShift