The logical state of the particular modifiers key.
NOTE: while the modifier can only be in a binary active/inactive state, it might be helpful to
note the context re. how its state changes by physical key events.
Temporarily “stuck”; other Sticky keys have no effect
Sticky Locked
↓ if Sticky
↓
Similar to Toggle, but deactivating ↓ turns on Regular effect
Toggle
↓
↓
↑ from the activating ↓ has no effect
Sticky effect avoids the need to press and hold multiple modifiers for a single shortcut and
is usually a platform-wide option that affects modifiers commonly used in shortcuts:
Shift, Control, Alt, Meta.
Toggle type is typically a property of a modifier, for example, Caps Lock.
These active states are not differentiated here.
For virtual/on-screen keyboards physical press/release can be a mouse click or a finger tap or a voice command. ↩
Can include cases when the key is active or logically pressed, for example, when a sticky
Shift is active, the OS might not preserve information that it was activated by
RightShift, so the state of ModifiersKeys::RSHIFT will be unknown while the state
of ModifiersState::SHIFT will be active.