SDL Library

Dependents:   H261_decoder

Embed: (wiki syntax)

« Back to documentation index

SDL_HapticLeftRight Struct Reference

SDL_HapticLeftRight Struct Reference

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

#include <SDL_haptic.h>

Data Fields

Uint16 type
 SDL_HAPTIC_LEFTRIGHT
Uint32 length
 Duration of the effect.
Uint16 large_magnitude
 Control of the large controller motor.
Uint16 small_magnitude
 Control of the small controller motor.

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. One motor is high frequency, the other is low frequency.

See also:
SDL_HAPTIC_LEFTRIGHT
SDL_HapticEffect

Definition at line 665 of file SDL_haptic.h.


Field Documentation

Control of the large controller motor.

Definition at line 674 of file SDL_haptic.h.

Duration of the effect.

Definition at line 671 of file SDL_haptic.h.

Control of the small controller motor.

Definition at line 675 of file SDL_haptic.h.

SDL_HAPTIC_LEFTRIGHT

Definition at line 668 of file SDL_haptic.h.