Enum GamepadType
Identifies the manufacturer or platform family of a connected gamepad controller, enabling the input hints system to select the appropriate button-prompt icon set.
Namespace: Scylla.Input
Assembly: ScyllaInput.dll
Syntax
public enum GamepadType
Remarks
The ControlSchemeManager derives this value automatically by
inspecting the Unity Input System device's displayName and layout
strings against a set of known substrings (e.g., "dualshock",
"xinput", "nintendo"). The resolved type is stored in
DetectedGamepadType and in the active
GamepadType property whenever the active scheme is
of category Gamepad.
Callers can listen to OnGamepadTypeChanged to be notified when the detected type changes (e.g., the player unplugs an Xbox controller and connects a PlayStation controller) and update their UI prompts accordingly.
Fields
| Name | Description |
|---|---|
| Generic | A connected gamepad that could not be classified as any known platform family, or no gamepad is currently connected. |
| Nintendo | A Nintendo controller, including the Switch Pro Controller and Joy-Con pair. |
| PlayStation | A Sony PlayStation controller (DualShock 3/4 or DualSense). |
| Steam | A Steam controller or Steam Deck in gamepad mode. |
| Xbox | An Xbox controller or any controller that reports an XInput-compatible layout. |