bevy/crates/bevy_gilrs/src
Branan Riley 684c821e96 Schedule gilrs system before input systems (#2989)
# Objective

Previously, the gilrs system had no explicit relationship to the input
systems. This could potentially cause it to be scheduled after the
input systems, leading to a one-frame lag in gamepad inputs.

This was a regression introduced in #1606 which removed the `PreEvent` stage

## Solution

This adds an explicit `before` relationship to the gilrs plugin,
ensuring that raw gamepad events will be processed on the same frame
that they are generated.
2021-12-16 00:04:34 +00:00
..
converter.rs Added gamepad support using Gilrs (#280) 2020-09-18 14:43:47 -07:00
gilrs_system.rs Remove double Events::update in bevy-gilrs (#2894) 2021-10-08 00:37:08 +00:00
lib.rs Schedule gilrs system before input systems (#2989) 2021-12-16 00:04:34 +00:00