public enum KeyModifiersThe modifier keys held when an event happened.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Left and right are distinguished because AltGr is right alt on layouts that have one, and a shortcut bound to "alt" that fires while the user types @ on a German keyboard is a real bug. Shift, Control, Alt and Meta are the either-side masks for the common case.
Fields and properties (15)
NoneNo modifier held.
LeftShiftThe left shift key is held.
RightShiftThe right shift key is held.
LeftControlThe left control key is held.
RightControlThe right control key is held.
LeftAltThe left alt key is held.
RightAltThe right alt key is held — AltGr on layouts that have one.
LeftMetaThe left Windows/Command/Super key is held.
RightMetaThe right Windows/Command/Super key is held.
CapsLockCaps Lock is on. A state, not a held key.
NumLockNum Lock is on. A state, not a held key.
ShiftEither shift. See HasAny.
ControlEither control. See HasAny.
AltEither alt. See HasAny.
MetaEither Windows/Command/Super. See HasAny.
Used by (14)
- DesktopInputSourceVixen.Platform.Desktop
- DesktopPlatformVixen.Platform.Desktop
- HeadlessInputSourceVixen.Platform.Headless
- HeadlessPlatformTestsVixen.Platform.Headless.Tests
- IInputSourceVixen.Platform
- KeyModifierExtensionsVixen.Platform
- PlatformEventVixen.Platform
- PlatformEventBufferTestsVixen.Platform.Tests
- PlatformEventTestsVixen.Platform.Tests
- PlatformInputVixen.Platform.Ui
- SdlTranslationVixen.Platform.Desktop
- SdlTranslationTestsVixen.Platform.Desktop.Tests
- PlatformInputTestsVixen.App.Tests
- VixenApplicationTestsVixen.App.Tests