---
name: "SDL_JoystickType"
section: "3type"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_JoystickType"
---

# SDL\_JoystickType(3type)

An enum of some common joystick types.

## NAME

SDL\_JoystickType - An enum of some common joystick types.

## HEADER FILE

Defined in SDL3/SDL\_joystick.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**typedef enum SDL\_JoystickType** **{**     **SDL\_JOYSTICK\_TYPE\_UNKNOWN,**     **SDL\_JOYSTICK\_TYPE\_GAMEPAD,**     **SDL\_JOYSTICK\_TYPE\_WHEEL,**     **SDL\_JOYSTICK\_TYPE\_ARCADE\_STICK,**     **SDL\_JOYSTICK\_TYPE\_FLIGHT\_STICK,**     **SDL\_JOYSTICK\_TYPE\_DANCE\_PAD,**     **SDL\_JOYSTICK\_TYPE\_GUITAR,**     **SDL\_JOYSTICK\_TYPE\_DRUM\_KIT,**     **SDL\_JOYSTICK\_TYPE\_ARCADE\_PAD,**     **SDL\_JOYSTICK\_TYPE\_THROTTLE,**     **SDL\_JOYSTICK\_TYPE\_COUNT** **} SDL\_JoystickType;**

## DESCRIPTION

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

**SDL\_GetJoystickType**\
  (or

**SDL\_GetJoystickTypeForID** ).

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

## AVAILABILITY

This enum is available since SDL 3.2.0.
