After substantial investigation, an upstream fix (that didn't end up being needed) and some serious refactoring, mouse motion and mouse scroll inputs tests are all green.
Basically, rather than summing the inputs in the middle of computing the raw inputs for each action, we're computing it once, in preupdate, and then fetching that value as a resource. This, unsurprisingly, should be upstreamed to bevy_input rather than living in LWIM.
Fixes #538.
After substantial investigation, an upstream fix (that didn't end up being needed) and some serious refactoring, mouse motion and mouse scroll inputs tests are all green.
Basically, rather than summing the inputs in the middle of computing the raw inputs for each action, we're computing it once, in preupdate, and then fetching that value as a resource. This, unsurprisingly, should be upstreamed to bevy_input rather than living in LWIM.