GamepadDevice

Summary

Manages connected physical and virtual gamepad hardware registries, lifecycle state, and connection notifications.

Remarks

Danger

All calls made within this class MUST be performed on the Master Thread. See RunLater on how to safely call this from an asynchronous thread. Failure to comply with this can cause catastrophical failures as the engine is not designed for this.

Definition

Namespace: SDT4.Managed.Input.Gamepad
Assembly: SDT4.Managed.Input.dll

static class GamepadDevice
Inheritance:

Object ➔ GamepadDevice

Implements:


Fields

Name Type Description

Properties

Name Type Description

Methods

public static Boolean IsDeviceConnected(GamepadIdentifier deviceId)

Summary: Checks whether the gamepad identified by deviceId is currently connected and active.

Parameters:

Returns: