leafwing_input_manager::systems

Function accumulate_mouse_movement

source
pub fn accumulate_mouse_movement(
    mouse_motion: ResMut<'_, AccumulatedMouseMovement>,
    events: EventReader<'_, '_, MouseMotion>,
)
Expand description

Sums theMouseMotion events received since during this frame.