HapticLeftRight constructor
HapticLeftRight({})
Create an instance.
Implementation
HapticLeftRight({
required final Sdl sdl,
required this.length,
required this.largeMagnitude,
required this.smallMagnitude,
}) : super(sdl) {
handle.ref.type = SDL_HAPTIC_LEFTRIGHT;
handle.ref.leftright
..length = length
..large_magnitude = largeMagnitude
..small_magnitude = smallMagnitude;
}