NAME
SDL2::HapticLeftRight - A structure containing a template for a Left/Right effect
SYNOPSIS
use SDL2 qw[:all];
# TODO: I need to whip up a quick example
DESCRIPTION
A SDL2::HapticLeftRight 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.
Fields
type
-SDL_HAPTIC_RAMP
length
- Duration of the effect in millisecondslarge_magnitude
- Control of the large controller motorsmall_magnitude
- Control of the small controller motor
AUTHOR
Sanko Robinson <sanko@cpan.org>