Input system of Sunny framework.
Find a file
2026-04-08 22:26:32 +02:00
examples Small change to input sequence builder 2026-04-08 21:26:03 +02:00
src Added Uuid and default resolver no longer does an allocation 2026-04-08 22:26:32 +02:00
Cargo.toml Added Uuid and default resolver no longer does an allocation 2026-04-08 22:26:32 +02:00
LICENSE Added license and README.MD 2026-01-19 13:41:38 +01:00
README.MD Small change to input sequence builder 2026-04-08 21:26:03 +02:00

About

Module for input system. It allows the user to map game engine inputs to framework inputs (which are fixed regardless of the input source), which then in turn, through the use of state machines, are translated into game actions.

TODO

  • Document code and usage.
  • White box tests.
  • Hide the the internal workings of the library and provide an user friendly API.
    • Input sequences
      • Provide for managing input sequences through Bevy ECS.
      • Provide for loading input sequence(s) from file.
  • Provide for multiple players on keyboard, without conflicting keybindings.
  • Support gamepads (add types to match on joysticks).
  • Input sequences
    • Allow input sequence to define window for the whole movement, not only for each step of the movement
  • Game input
    • Unique ID (probably UUID) for each time an input sequence is matched (giving each frame a unique ID and using it as the identifier could work out)
  • Rework matchers
    • Add matchers for gamepad input.
    • Add non strict matchers.
  • Rework matcher states and input sequence such that an input sequence is also a matcher state, allowing to implement more complex matchers, such as a matcher that matches while a key is being held.