win32_gamepad library
A Dart library that provides a friendly Dart API for accessing gamepads connected to a Windows machine.
Classes
- Gamepad
- Represents a gamepad controller.
- GamepadBatteryInfo
- Information about the battery state for a gamepad or headset.
- GamepadCapabilities
- Information about what a gamepad supports: vibration, voice, navigation, etc.
- GamepadState
- The current status of a gamepad.
Enums
- Direction
- The compass point represented by the directional pad.
- GamepadBatteryLevel
- The charge state of the battery.
- GamepadBatteryType
- The type of battery.
- GamepadDeviceType
- Whether the specified device is the controller or an attached headset.
Exceptions / Errors
- DeviceNotConnectedError
- Error occurring when an operation is attempted on a device that is not connected.