Skip to content

TSdlJoystickKind

An enum of some common joystick types.

In some cases, SDL can identify a low-level joystick as being a certain type of device, and will report it through TSdlJoystick.Kind.

This is by no means a complete list of everything that can be plugged into a computer.

Definition

Unit: Neslib.Sdl3.Input

type TSdlJoystickKind = (Unknown, Gamepad, Wheel, ArcadeStick, FlightStick, DancePad, Guitar, DrumKit, ArcadePad, Throttle)

Enumeration Values

Unknown = SDL_JOYSTICK_TYPE_UNKNOWN


Gamepad = SDL_JOYSTICK_TYPE_GAMEPAD


Wheel = SDL_JOYSTICK_TYPE_WHEEL


ArcadeStick = SDL_JOYSTICK_TYPE_ARCADE_STICK


FlightStick = SDL_JOYSTICK_TYPE_FLIGHT_STICK


DancePad = SDL_JOYSTICK_TYPE_DANCE_PAD


Guitar = SDL_JOYSTICK_TYPE_GUITAR


DrumKit = SDL_JOYSTICK_TYPE_DRUM_KIT


ArcadePad = SDL_JOYSTICK_TYPE_ARCADE_PAD


Throttle = SDL_JOYSTICK_TYPE_THROTTLE