Enum GamepadType
The kind of controller, so that a game can show the right button names.
public enum GamepadType
Fields
Generic = 6Any other controller, which SDL does not identify.
Playstation = 2A PlayStation controller: PS3, PS4 or PS5.
SwitchJoyConLeft = 4A left Joy-Con.
SwitchJoyConRight = 5A right Joy-Con.
SwitchPro = 3A Nintendo Switch Pro controller.
Unknown = 0The controller type is not known.
Xbox = 1An Xbox controller.