Function ambient_api::input::get_delta

source ·
pub fn get_delta() -> (InputDelta, Input)
Expand description

Gets the changes to the local player’s raw input state in the last update, as well as the current raw input state.

This is a wrapper for get_previous, get and Input::delta.