My Project
Loading...
Searching...
No Matches
SDL_HapticLeftRight Struct Reference

A structure containing a template for a Left/Right effect. More...

#include <SDL_haptic.h>

Data Fields

Uint16 type
 
Uint32 length
 
Uint16 large_magnitude
 
Uint16 small_magnitude
 

Detailed Description

A structure containing a template for a Left/Right effect.

This struct is exclusively for the SDL_HAPTIC_LEFTRIGHT effect.

The Left/Right effect is used to explicitly control the large and small motors, commonly found in modern game controllers. The small (right) motor is high frequency, and the large (left) motor is low frequency.

See also
SDL_HAPTIC_LEFTRIGHT
SDL_HapticEffect

Field Documentation

◆ large_magnitude

Uint16 large_magnitude

Control of the large controller motor.

◆ length

Uint32 length

Duration of the effect in milliseconds.

◆ small_magnitude

Uint16 small_magnitude

Control of the small controller motor.

◆ type

Uint16 type

The documentation for this struct was generated from the following file: