xinput_gamepad 1.3.1 copy "xinput_gamepad: ^1.3.1" to clipboard
xinput_gamepad: ^1.3.1 copied to clipboard

Support to XInput controllers easily with cool features and a good abstraction.

3
likes
150/ 160
pub points
141
downloads

We analyzed this package 5 days ago, and awarded it 150 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/LuanRoger/xinput_gamepad/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

51 out of 62 API elements (82.3 %) have documentation comments.

Some symbols that are missing documentation: xinput_gamepad, xinput_gamepad.BatteryLevel.batteryBitmask, xinput_gamepad.BatteryType.batteryTypeBitmask, xinput_gamepad.Controller.batteryInformation, xinput_gamepad.Controller.capababilities.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Windows

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:xinput_gamepad/xinput_gamepad.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:xinput_gamepad/xinput_gamepad.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:xinput_gamepad/xinput_gamepad.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:xinput_gamepad/xinput_gamepad.dart that declares support for platforms: Windows.
Package does not support platform `Web`.

Because:

  • package:xinput_gamepad/xinput_gamepad.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:xinput_gamepad/xinput_gamepad.dart that imports:
  • package:xinput_gamepad/src/enums/controller_type.dart that imports:
  • package:win32/win32.dart that imports:
  • package:win32/src/com/iwinhttprequest.dart that imports:
  • package:win32/src/com/iunknown.dart that imports:
  • package:win32/src/utils.dart that imports:
  • package:win32/src/win32/user32.g.dart that imports:
  • package:win32/src/variant.dart that imports:
  • package:win32/src/win32/oleaut32.g.dart that imports:
  • package:win32/src/structs.g.dart that imports:
  • package:win32/src/guid.dart that imports:
  • package:win32/src/win32/ole32.g.dart that imports:
  • package:win32/src/combase.dart that imports:
  • package:win32/src/macros.dart that imports:
  • package:win32/src/inline.dart that imports:
  • package:win32/src/win32/uxtheme.g.dart that imports:
  • package:win32/src/callbacks.dart that imports:
  • package:win32/src/types.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Dangling library doc comment.

lib/src/enums/buttons_mode.dart:3:1

3 │ ┌ ///The way in which pressing the buttons on the controller is interpreted.
4 │ │ ///
5 │ │ ///PRESS - The command is executed only on press the button.
6 │ │ ///
7 │ └ ///HOLD - The command is executed while the button is pressed.
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/src/enums/buttons_mode.dart

INFO: Dangling library doc comment.

lib/src/enums/variable_controller_key.dart:3:1

3///The variable keys of the controller.
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/src/enums/variable_controller_key.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
collection ^1.17.0 1.19.1 1.19.1
ffi ^2.1.0 2.1.4 2.1.4
win32 ^5.0.7 5.12.0 5.12.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 1Jul 29Aug 26Sep 23Oct 21Nov 18Dec 16Jan 13Feb 10Mar 100102030405060>=0.0.0-0 <1.0.0>=1.0.0-0 <2.0.0
3
likes
150
points
141
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.16 - 2025.03.31

Support to XInput controllers easily with cool features and a good abstraction.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

collection, ffi, win32

More

Packages that depend on xinput_gamepad