gamepad_haptics 1.0.1
gamepad_haptics: ^1.0.1 copied to clipboard
A Flutter plugin to control haptic feedback on game controllers (iOS and Android). Supports 18 different vibration patterns with customizable intensity and sharpness.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add gamepad_haptics
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
gamepad_haptics: ^1.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:gamepad_haptics/gamepad_haptics.dart';