Search packages, repositories and app categories

Package detailsv0.1.15

gamepads

A Flutter plugin to handle gamepad input across multiple platforms.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
32.3K
Likes
37
Pub points
160

Install package

flutter pub add gamepads

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The gamepads package is a Flutter plugin designed to handle gamepad input across multiple platforms, including Android, iOS, Web, macOS, Windows, and Linux. It provides a unified interface for detecting and responding to gamepad events such as button presses and axis movements, making it ideal for cross-platform game development. Built with the Flame engine ecosystem in mind, it simplifies integration into games that require controller support. The plugin abstracts platform-specific differences, ensuring consistent behavior regardless of the device. It enables developers to create responsive, controller-friendly applications with minimal setup.

Use cases

  • Cross-platform game development
  • Supporting physical game controllers
  • Building interactive games with analog sticks
  • Handling button inputs in mobile and desktop apps
  • Creating accessible gaming experiences

Key features

  • Unified input handling across platforms
  • Real-time button and axis event detection
  • Support for multiple gamepad types
  • Seamless integration with Flame engine
  • Low-level access to gamepad state

Suitable for

  • Game developers targeting multiple platforms
  • Apps requiring precise input from game controllers
  • Projects using the Flame engine
  • Developers building accessible or controller-based experiences
  • Cross-platform interactive applications

Considerations

  • Requires native platform permissions on some systems
  • Limited to supported input devices
  • May need additional configuration on Web
  • Not optimized for non-game applications
  • Depends on underlying platform input APIs

Categories

Dependencies

Dependency list 6 items

  • gamepads_android^0.1.12
  • gamepads_darwin^0.1.4
  • gamepads_linux^0.1.4
  • gamepads_platform_interface^0.1.4
  • gamepads_web^0.1.3
  • gamepads_windows^0.3.3

Projects using this package