virtual_gamepad_pro 0.3.1
virtual_gamepad_pro: ^0.3.1 copied to clipboard
Advanced virtual controller suite: joystick, d-pad, buttons, and runtime layout editor with JSON serialization. Optimized for remote play.
0.3.1 #
- Feat: Update documentation for
VirtualControllerOverlayandVirtualControllerTheme.
0.3.0 #
- Feat: Introduced
VirtualControlTheme+ rule-based theming (RuleBasedVirtualControlTheme,ControlMatchers) and applied it inVirtualControllerOverlay. - Feat: Added
identifiers.dart(typed enums + robustparse/tryParse) for mouse buttons, wheel direction, joystick mode, stick/axis identifiers. - Feat: Added layout utilities (
layoutWithAspectRatio,layoutSquare), state-to-definition helper (buildDefinitionFromState), and control cloning helper (cloneControlWithOverrides) for editor/runtime composition. - Change: Improved
KeyboardKey.normalized()(aliases like esc/cmd/ctrl + arrow symbols). - Change: Expanded dynamic control creation from state IDs (mouse/wheel/dpad/split mouse/scroll stick/key) for better state portability.
- Change: Macro suite timeline/preview UI refactor and tooling improvements.
0.2.4 #
- Change: Narrowed default Macro Button size (width 0.06, height 0.10) for better ergonomics.
- Fix: Unified all macro button creation paths (palette, factory, editor macro add) to use the narrowed default width.
- Docs: Updated README to reflect default macro button sizing and customization notes.
0.2.3 #
- Feat: Add macro recording suite UI (
MacroSuitePage) and timeline preview widgets. - Feat: Add macro recording runtime helpers and widgets (recording session + macro button widget).
- Change: Refactor layout editor internals (palette/layout editor split) and update exports.
0.2.2 #
- Fix: Resolved
IconDatatree-shaking issue instyle_json_codec.dartto support optimized web builds (--tree-shake-icons). - Optimization: Improved web compilation compatibility by avoiding non-constant
IconDatainvocations.
0.2.1 #
- Fix: Correctly merge and propagate
configinVirtualJoystickandVirtualDpadeditors. - Change:
VirtualDpaddefaults toenable3D: falsefor cleaner flat design. - Change:
VirtualJoystickdefaultsstickClickEnabledandstickLockEnabledtofalse. - Example: Major UI overhaul with Apple-style design, hover effects, and improved layout management (rename/duplicate/import/export).
0.2.0 #
- Breaking: Introduced strong-typed
InputBindingmodel for keyboard/gamepad input. - Breaking:
VirtualButtonnow requiresbinding(replacesconfig.padKey-based resolution). - Breaking:
VirtualKeynow usesbinding: KeyboardBinding(...)(replaceskey/modifiers/repeatfields). - Breaking:
VirtualDpaddirections now map to typed bindings (replacesmode+ string maps). - Feat: Added extensible
InputBindingRegistryandGamepadButtonIdto support custom strong-typed buttons with editor + JSON ecosystem. - Perf: Reduced runtime string parsing in widgets by resolving input codes in models.
0.1.2 #
- Fix: Improved D-Pad label rendering with dynamic font sizing and clamping to prevent layout issues.
- Fix: Added
FittedBoxtoControlLabelto prevent text overflow. - Feat: Added support for
startandbackbutton labels/IDs (maps to menu/view icons).
0.1.1 #
- Docs: Comprehensive documentation overhaul (README.md) with Nanny-level guides.
- Feat: Added
lockedColortoControlStylefor customizable joystick lock feedback. - Refactor: Improved code comments and library exports.
- Fix: Updated package name to
virtual_gamepad_pro.
0.1.0 #
- Initial release of Virtual Gamepad Pro.
- Includes:
- Virtual Joystick, D-Pad, Buttons, Mouse Controls.
- Runtime Layout Editor.
- JSON Serialization/Deserialization.
- Overlay Widget for easy integration.