Scylla Framework
  • API Reference
Search Results for

    Show / Hide Table of Contents
    • Scylla.Input
      • AutoResolveChange
      • AutoResolveResult
      • BindingConflict
      • BindingStorageSettings
      • BindingStorageType
      • BridgeSettings
      • BufferedInput
      • ConfigActionEntry
      • ConfigBindingEntry
      • ConfigConflict
      • ConfigSchemeGroup
      • ContextValidationMessage
      • ContextValidationSeverity
      • ControlScheme
      • ControlSchemeChangedEvent
      • ControlSchemeManager
      • ControlSchemeType
      • GamepadButton
      • GamepadType
      • IBindingStorage
      • IControlSchemeManager
      • IInputActionManager
      • IInputBindingManager
      • IInputBridgeManager
      • IInputBufferManager
      • IInputContextManager
      • IInputHintsManager
      • IInputListener
      • IScyllaInputBridge
      • InputActionCanceledEvent
      • InputActionManager
      • InputActionPerformedEvent
      • InputActionStartedEvent
      • InputBindingManager
      • InputBindingsLoadedEvent
      • InputBindingsSavedEvent
      • InputBridgeManager
      • InputBridgeQueryMode
      • InputBufferConsumedEvent
      • InputBufferManager
      • InputBufferedEvent
      • InputConflictResolution
      • InputContext
      • InputContextChangedEvent
      • InputContextDefinition
      • InputContextManager
      • InputContextPoppedEvent
      • InputContextPushedEvent
      • InputDeviceChangedEvent
      • InputDeviceConnectedEvent
      • InputDeviceDisconnectedEvent
      • InputDeviceType
      • InputDeviceUtil
      • InputDisabledEvent
      • InputEnabledEvent
      • InputEventType
      • InputHint
      • InputHintChangedEvent
      • InputHintsManager
      • InputIconSet
      • InputIconSet.IconMapping
      • InputIconSetChangedEvent
      • InputLoggingSettings
      • InputRebindCancelledEvent
      • InputRebindCompletedEvent
      • InputRebindManager
      • InputRebindOperation
      • InputRebindStartedEvent
      • InputRebindUtils
      • JSONFileBindingStorage
      • ManagedRebindCancelledEvent
      • ManagedRebindCompletedEvent
      • ManagedRebindDataRefreshedEvent
      • ManagedRebindStartedEvent
      • PlayerPrefsBindingStorage
      • RebindMode
      • RebindSettings
      • ScyllaInput
      • ScyllaInput.Meta
      • ScyllaInputAction
      • ScyllaInputActionMap
      • ScyllaInputBinding
      • ScyllaInputConfiguration
      • ScyllaInputContextConfiguration
      • ScyllaKey
      • ScyllaKeyConverter
      • ScyllaModifier
      • UnityInputSystemBridge
    • Scylla.Input.Editor
      • ControlSchemeDrawer
      • DeviceStatusWidget
      • IconMappingDrawer
      • InputIconSetEditor
      • ScyllaInputConfigurationEditor
      • ScyllaInputContextConfigurationEditor
      • ScyllaInputDependencyProvider
      • ScyllaInputEditor
      • ScyllaInputMenuItems
      • ScyllaInputWizard

    Enum ScyllaModifier

    A [Flags] enumeration that represents the set of logical keyboard modifier keys - Shift, Ctrl, and Alt - held simultaneously during a keyboard shortcut.

    Namespace: Scylla.Input
    Assembly: ScyllaInput.dll
    Syntax
    [Flags]
    public enum ScyllaModifier
    Remarks

    Because this enum is decorated with FlagsAttribute, values can be combined with the bitwise OR operator to express compound modifier requirements. For example, ScyllaModifier.Shift | ScyllaModifier.Ctrl is equivalent to the predefined ShiftCtrl value. The convenience combination values (ShiftCtrl, ShiftAlt, CtrlAlt, ShiftCtrlAlt) are provided to improve readability at call sites.

    Each logical modifier abstracts away handedness: Shift matches either the left or the right Shift key, Ctrl matches either Control key, and Alt matches either Alt key (or the Option key on macOS). If a binding must distinguish left from right, use LeftShift / RightShift etc. directly instead.

    None represents the absence of any modifier requirement; a binding decorated with None activates when no modifier key is held.

    Fields

    Name Description
    Alt

    Either the left or the right Alt key must be held. On macOS this corresponds to the Option key. Maps to both LeftAlt and RightAlt.

    Ctrl

    Either the left or the right Control key must be held. Maps to both LeftCtrl and RightCtrl.

    CtrlAlt

    Both Control and Alt must be held simultaneously. Equivalent to ScyllaModifier.Ctrl | ScyllaModifier.Alt.

    None

    No modifier key is required. A binding decorated with this value activates only when neither Shift, Ctrl, nor Alt is held at the time of the key event.

    Shift

    Either the left or the right Shift key must be held. Maps to both LeftShift and RightShift.

    ShiftAlt

    Both Shift and Alt must be held simultaneously. Equivalent to ScyllaModifier.Shift | ScyllaModifier.Alt.

    ShiftCtrl

    Both Shift and Control must be held simultaneously. Equivalent to ScyllaModifier.Shift | ScyllaModifier.Ctrl.

    ShiftCtrlAlt

    Shift, Control, and Alt must all be held simultaneously. Equivalent to ScyllaModifier.Shift | ScyllaModifier.Ctrl | ScyllaModifier.Alt.

    See Also
    ScyllaKey
    In this article
    Back to top Scylla Framework - Input Module API Documentation