NAME
SDL2::HapticConstant - A structure containing a template for a Constant effect
SYNOPSIS
use SDL2 qw[:all];
# TODO: I need to whip up a quick example
DESCRIPTION
A SDL2::HapticConstant is exclusively for the SDL_HAPTIC_CONSTANT effect.
A constant effect applies a constant force in the specified direction to the joystick.
Fields
type-SDL_HAPTIC_CONSTANTdirection- Direction of the effectlength- Duration of the effectdelay- Delay before starting the effectlevel- Strength of the constant effectattack_length- Duration of the attackattack_level- Level at the start of the attackfade_length- Duration of the fadefade_level- Level at the end of the fade
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>