class SDL2::Haptic::Custom

brief A structure containing a template for the ::SDL_HAPTIC_CUSTOM effect.

A custom force feedback effect is much like a periodic effect, where the application can define its exact shape. You will have to allocate the data yourself. Data should consist of channels # samples Uint16 samples.

If channels is one, the effect is rotated using the defined direction. Otherwise it uses the samples in data for the different axes.

sa SDL_HAPTIC_CUSTOM sa SDL_HapticEffect