Scylla Framework
  • API Reference
Search Results for

    Show / Hide Table of Contents
    • Scylla.Input
      • AutoResolveChange
      • AutoResolveResult
      • BindingConflict
      • BindingStorageSettings
      • BindingStorageType
      • BridgeSettings
      • BufferedInput
      • ConfigActionEntry
      • ConfigActionGroup
      • ConfigBindingEntry
      • ConfigConflict
      • ConfigGroupExclusion
      • ConfigLayout
      • ConfigLayout.Builder
      • ConfigLayoutColumnDefinition
      • ConfigLayoutConflictScope
      • ConfigLayoutDefinition
      • ConfigLayoutExclusionDefinition
      • ConfigLayoutGroupDefinition
      • ConfigLayoutGroupMode
      • ConfigLayoutMemberReference
      • ConfigLayoutValidationMessage
      • ConfigLayoutValidationSeverity
      • ConfigSchemeGroup
      • ContextConflictScope
      • ContextValidationMessage
      • ContextValidationSeverity
      • ControlScheme
      • ControlSchemeChangedEvent
      • ControlSchemeManager
      • ControlSchemeType
      • GamepadButton
      • GamepadType
      • IBindingStorage
      • IControlSchemeManager
      • IInputActionManager
      • IInputBindingManager
      • IInputBridgeManager
      • IInputBufferManager
      • IInputConflictScope
      • IInputContextManager
      • IInputControlAliasResolver
      • IInputHintsManager
      • IInputListener
      • IInputRebindabilityProvider
      • IScyllaInputBridge
      • IdentityControlAliasResolver
      • InputActionCanceledEvent
      • InputActionManager
      • InputActionMapNode
      • InputActionMetadata
      • InputActionNode
      • InputActionPerformedEvent
      • InputActionStartedEvent
      • InputActionsDocument
      • InputActionsDocumentIO
      • InputActionsJSONKeys
      • InputAnnotation
      • InputAssetInfo
      • InputBindingGroups
      • InputBindingManager
      • InputBindingMetadata
      • InputBindingNode
      • InputBindingsLoadedEvent
      • InputBindingsSavedEvent
      • InputBridgeManager
      • InputBridgeQueryMode
      • InputBufferConsumedEvent
      • InputBufferManager
      • InputBufferedEvent
      • InputCodegenSettings
      • InputCompositeUtil
      • InputConflictEngine
      • InputConflictPair
      • InputConflictPolicy
      • InputConflictReason
      • InputConflictRecord
      • InputConflictRecordBuilder
      • InputConflictResolution
      • InputConflictSet
      • InputContext
      • InputContextChangedEvent
      • InputContextDefinition
      • InputContextExclusivity
      • InputContextManager
      • InputContextPoppedEvent
      • InputContextPushedEvent
      • InputControlAliasEntry
      • InputControlAliasResolver
      • InputControlAliasScope
      • InputControlPathUtil
      • InputControlSchemeNode
      • InputDeviceChangedEvent
      • InputDeviceConnectedEvent
      • InputDeviceDisconnectedEvent
      • InputDeviceType
      • InputDeviceUtil
      • InputDisabledEvent
      • InputEnabledEvent
      • InputEventType
      • InputHint
      • InputHintChangedEvent
      • InputHintsManager
      • InputIconSet
      • InputIconSet.IconMapping
      • InputIconSetChangedEvent
      • InputInteractionKind
      • InputInteractionResolver
      • InputInteractionSignature
      • InputJSONMember
      • InputJSONNode
      • InputJSONNodeReader
      • InputJSONNodeType
      • InputJSONNodeWriter
      • InputLoggingSettings
      • InputMapMetadata
      • InputMetadataRebindabilityProvider
      • InputMetadataReconciler
      • InputMetadataRecordKind
      • InputModifierMetadataUtil
      • InputOrphanRecord
      • InputRebindCancelledEvent
      • InputRebindCompletedEvent
      • InputRebindManager
      • InputRebindOperation
      • InputRebindStartedEvent
      • InputRebindUtils
      • InputRebindability
      • InputReconcileAction
      • InputReconcileOptions
      • InputReconcileReport
      • InputReconcileReport.Entry
      • InputSchemeDeviceNode
      • InputSchemeMetadata
      • JSONFileBindingStorage
      • ManagedRebindCancelledEvent
      • ManagedRebindCompletedEvent
      • ManagedRebindDataRefreshedEvent
      • ManagedRebindStartedEvent
      • PlayerPrefsBindingStorage
      • RebindMode
      • RebindSettings
      • ScyllaInput
      • ScyllaInput.Meta
      • ScyllaInputAction
      • ScyllaInputActionMap
      • ScyllaInputActionsMetadata
      • ScyllaInputActionsMetadataMigrator
      • ScyllaInputBinding
      • ScyllaInputConfiguration
      • ScyllaInputContextConfiguration
      • ScyllaKey
      • ScyllaKeyConverter
      • ScyllaModifier
      • UnityInputSystemBridge
    • Scylla.Input.Editor
      • DeviceStatusWidget
      • IconMappingDrawer
      • InputIconSetEditor
      • ScyllaInputActionsMetadataEditor
      • ScyllaInputConfigurationEditor
      • ScyllaInputContextConfigurationEditor
      • ScyllaInputDependencyProvider
      • ScyllaInputEditor
      • ScyllaInputGameProfile
      • ScyllaInputGameProfiles
      • ScyllaInputMenuItems
      • ScyllaInputWizard

    Enum GamepadButton

    Platform-agnostic identifiers for the standard buttons found on a modern gamepad controller.

    Namespace: Scylla.Input
    Assembly: ScyllaInput.dll
    Syntax
    public enum GamepadButton
    Remarks

    The naming convention follows the cardinal-direction layout of the face buttons (South, East, West, North) rather than platform-specific labels, so that game code remains portable across Xbox, PlayStation, and Nintendo hardware. Platform labels are provided in each member's summary for quick reference.

    These values are accepted by the IInputBridgeManager query methods (IsGamepadButtonPressed, WasGamepadButtonPressedThisFrame, WasGamepadButtonReleasedThisFrame). Analog inputs - stick axes and trigger values - are accessed through separate methods on IInputBridgeManager rather than through this enum.

    LeftTrigger and RightTrigger appear in this enum for digital pressed/released queries. For the analog float values use IInputBridgeManager.GetGamepadLeftTrigger() and IInputBridgeManager.GetGamepadRightTrigger() respectively.

    Fields

    Name Description
    DpadDown

    The downward direction on the directional pad (D-pad).

    DpadLeft

    The leftward direction on the directional pad (D-pad).

    DpadRight

    The rightward direction on the directional pad (D-pad).

    DpadUp

    The upward direction on the directional pad (D-pad).

    East

    The right face button in the cardinal layout. Xbox: B - PlayStation: Circle - Nintendo Switch: A.

    LeftShoulder

    The upper left shoulder bumper button. Xbox: LB - PlayStation: L1 - Nintendo Switch: L.

    LeftStick

    The left analog stick pressed as a button (click). Universally referred to as L3 across all major platforms.

    LeftTrigger

    The left trigger treated as a digital button (pressed/not pressed). Xbox: LT - PlayStation: L2 - Nintendo Switch: ZL.

    North

    The top face button in the cardinal layout. Xbox: Y - PlayStation: Triangle - Nintendo Switch: X.

    RightShoulder

    The upper right shoulder bumper button. Xbox: RB - PlayStation: R1 - Nintendo Switch: R.

    RightStick

    The right analog stick pressed as a button (click). Universally referred to as R3 across all major platforms.

    RightTrigger

    The right trigger treated as a digital button (pressed/not pressed). Xbox: RT - PlayStation: R2 - Nintendo Switch: ZR.

    Select

    The select, back, or share button, typically used for auxiliary functions. Xbox: View - PlayStation: Share (PS4) / Create (PS5) - Nintendo Switch: -.

    South

    The bottom face button in the cardinal layout. Xbox: A - PlayStation: Cross - Nintendo Switch: B.

    Start

    The start or menu button, typically used to pause the game or open the main menu. Xbox: Menu - PlayStation: Options - Nintendo Switch: +.

    West

    The left face button in the cardinal layout. Xbox: X - PlayStation: Square - Nintendo Switch: Y.

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