pad_input 0.4.0 copy "pad_input: ^0.4.0" to clipboard
pad_input: ^0.4.0 copied to clipboard

Reads a gamepad's sticks, triggers and buttons as a snapshot the caller asks for, with a dead zone applied and no opinion about what any button means.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add pad_input

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  pad_input: ^0.4.0

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:pad_input/pad_input.dart';
0
likes
160
points
87
downloads

Documentation

API reference

Publisher

verified publisherpleion.dev

Weekly Downloads

Reads a gamepad's sticks, triggers and buttons as a snapshot the caller asks for, with a dead zone applied and no opinion about what any button means.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#gamepad #input #controller #game-development

License

MIT (license)

Dependencies

flutter, plugin_platform_interface, web

More

Packages that depend on pad_input

Packages that implement pad_input