Skip to content

Make bevy_window and bevy_input events serializable #6021

Closed
@alice-i-cecile

Description

@alice-i-cecile

What problem does this solve or what need does it fill?

All of the events in this file should be serializable, in order to enable effective playback of window events for testing.

Similarly, many events in bevy_input are not serializable.

What solution would you like?

Add derives for Serialize and Deserialize, controlled by an off-by-default feature flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-InputPlayer input via keyboard, mouse, gamepad, and moreA-WindowingPlatform-agnostic interface layer to run your app inC-TestingA change that impacts how we test Bevy or how users test their appsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useD-TrivialNice and easy! A great choice to get started with Bevy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions