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
LICENSE
Copyright (C) Sanko Robinson.
This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License 2. Other copyrights, terms, and conditions may apply to data transmitted through this module.
AUTHOR
Sanko Robinson <sanko@cpan.org>