fledge_input 0.1.1 copy "fledge_input: ^0.1.1" to clipboard
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 justPressed and justReleased detection 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 ButtonInputState to use press() and release() methods instead of direct property access
  • Applied fix to KeyboardState, MouseState, and GamepadState

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
0
likes
0
points
408
downloads

Publisher

verified publisherfledge-framework.dev

Weekly Downloads

Input handling plugin for the Fledge ECS game framework. Provides action-based input mapping with keyboard, mouse, and gamepad support.

Homepage
Repository (GitHub)
View/report issues

Topics

#ecs #game-engine #input #gamepad #flutter-games

License

unknown (license)

Dependencies

fledge_ecs, flutter, gamepads, meta

More

Packages that depend on fledge_input