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

    Class InputDeviceConnectedEvent

    Published via the Scylla Event eXchange System (SEX) when a new input device is detected and connected to the system.

    Inheritance
    object
    ScyllaEvent
    InputDeviceConnectedEvent
    Inherited Members
    ScyllaEvent.IsCancelled
    ScyllaEvent.StopPropagation()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Scylla.Input
    Assembly: ScyllaInput.dll
    Syntax
    public class InputDeviceConnectedEvent : ScyllaEvent
    Remarks

    This event is fired once per physical device connection. It provides the raw Unity UnityEngine.InputSystem.InputDevice reference along with the Scylla-classified InputDeviceType and the Unity-assigned device ID for scenarios where callers need to track specific device instances across connect/disconnect cycles. Subscribe via ScyllaEvents.Listen<InputDeviceConnectedEvent>.

    Properties

    Device

    Gets or sets the Unity Input System device object that was connected. This reference is valid for the lifetime of the connection; it becomes stale after the corresponding InputDeviceDisconnectedEvent is published.

    Declaration
    public InputDevice Device { get; set; }
    Property Value
    Type Description
    InputDevice

    DeviceID

    Gets or sets the unique integer ID assigned to this device by Unity's Input System (InputDevice.deviceId). This ID is stable for the duration of the connection and can be used to correlate this event with a future InputDeviceDisconnectedEvent for the same physical device.

    Declaration
    public int DeviceID { get; set; }
    Property Value
    Type Description
    int

    DeviceType

    Gets or sets the Scylla-classified type category of the connected device, such as Keyboard, Gamepad, or Mouse. Use this instead of inspecting Device directly when only the device category is needed.

    Declaration
    public InputDeviceType DeviceType { get; set; }
    Property Value
    Type Description
    InputDeviceType

    See Also

    InputDeviceDisconnectedEvent
    InputDeviceChangedEvent
    In this article
    Back to top Scylla Framework - Input Module API Documentation