Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Objective - As part of exploring input event suppression in bevy_egui here: vladbat00/bevy_egui@53c1773 - I found that the only way to suppress events properly, is to allow to clone the relevant Input<Whatever>, and update with events manually from within the system. This cloned Input then is discarded, the Events<*> structs are cleared, and bevy_input's normal update of Input proceeds, without the events that have been suppressed. ## Solution - This enables Input to be cloned, allowing it to be manually updated with events.
- Loading branch information