# SDL_HapticEffectID

ID for haptic effects.

## Header File

Defined in [<SDL3/SDL_haptic.h>](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/SDL_haptic.h)

## Syntax

```c
typedef int SDL_HapticEffectID;
```

## Remarks

This is -1 if the ID is invalid.

## See Also

- [SDL_CreateHapticEffect](SDL_CreateHapticEffect)

----
[CategoryAPI](CategoryAPI), [CategoryAPIDatatype](CategoryAPIDatatype), [CategoryHaptic](CategoryHaptic)