fledge_input 0.1.1
fledge_input: ^0.1.1 copied to clipboard
Input handling plugin for the Fledge ECS game framework. Provides action-based input mapping with keyboard, mouse, and gamepad support.
0.1.1 #
- FIX(fledge_input): fix timing issue for action resolution. (62356b0d)
- FEAT: initial commit. (0e057c5a)
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.1.1] - 2025-01-03 #
Fixed #
- Fixed
justPressedandjustReleaseddetection for asynchronous input events- Flutter key/button events arrive asynchronously between frames
- Previously, if an event arrived before
beginFrame(), the transition was lost - Now explicitly tracks press/release transitions that persist until consumed
- Updated
ButtonInputStateto usepress()andrelease()methods instead of direct property access - Applied fix to
KeyboardState,MouseState, andGamepadState
0.1.0 - 2025-01-02 #
Added #
- Initial release of fledge_input
- Action-based input system with named actions
- InputMap builder for declarative input configuration
- Keyboard input support with key bindings
- Mouse input support with button and position tracking
- Gamepad input support with button and stick bindings
- WASD and arrow key binding helpers
- Context switching based on game state
- InputWidget for Flutter integration
- ActionState resource for reading input in systems